FreeBASIC  0.91.0
flist.bi
Go to the documentation of this file.
1 #ifndef __FLIST_BI__
2 #define __FLIST_BI__
3 
4 #include once "list.bi"
5 
6 type TFLISTITEM
7  next as TFLISTITEM ptr
8 end type
9 
10 type TFLIST
11  totitems as integer
12  items as integer
13  itemtb as TFLISTITEM ptr
14  index as integer
15  lastitem as TFLISTITEM ptr
16  list as TLIST
17  listtb as TLISTTB ptr
18 end type
19 
20 declare sub flistInit _
21  ( _
22  byval flist as TFLIST ptr, _
23  byval items as integer, _
24  byval itemlen as integer _
25  )
26 
27 declare sub flistEnd(byval flist as TFLIST ptr)
28 
29 declare function flistNewItem _
30  ( _
31  byval flist as TFLIST ptr _
32  ) as any ptr
33 
34 declare sub flistReset _
35  ( _
36  byval flist as TFLIST ptr _
37  )
38 
39 declare function flistGetHead _
40  ( _
41  byval flist as TFLIST ptr _
42  ) as any ptr
43 
44 declare function flistGetNext _
45  ( _
46  byval node as any ptr _
47  ) as any ptr
48 
49 #endif '' __FLIST_BI__
50