2 * collectn.h - header file for 'collection' abstract data type.
4 * This file is public domain, and does not come under the NASM license.
5 * It, aint32_t with 'collectn.c' implements what is basically a variable
6 * length array (of pointers).
9 #ifndef RDOFF_COLLECTN_H
10 #define RDOFF_COLLECTN_H 1
12 typedef struct tagCollection
{
13 void *p
[32]; /* array of pointers to objects */
15 struct tagCollection
*next
;
18 void collection_init(Collection
* c
);
19 void **colln(Collection
* c
, int index
);
20 void collection_reset(Collection
* c
);