outrdf2.c now uses the same definitions of RDOFF2 format that RDOFF utils.
[nasm.git] / rdoff / collectn.h
blobdc4f7ccdbc1c93ca4c05f75ac33ba21f6ca6970f
1 /*
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, along with 'collectn.c' implements what is basically a variable
6 * length array (of pointers).
7 */
9 #ifndef _COLLECTN_H
10 #define _COLLECTN_H
12 typedef struct tagCollection {
13 void *p[32]; /* array of pointers to objects */
15 struct tagCollection *next;
16 } Collection;
18 void collection_init(Collection * c);
19 void ** colln(Collection * c, int index);
20 void collection_reset(Collection * c);
22 #endif