Blame view
tools/sctk-2.4.10/src/sclite/llist.h
654 Bytes
8dcb6dfcb first commit |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
/** ** Mark Przybocki ** 598 Unix/c ** ** Project #7: PART I (creating a library) ** ** Filename: LLIST.H ** header file for the liblist.a library ** and other linked list functions. ** **/ /** DEFINE THE BASIC NODE STRUCTURE **/ typedef struct lnode LList; struct lnode { void *data; /* data element */ void *next; /* pointer to next element */ }; /** FUNCTION PROTO-TYPING **/ /* file: llist.c */ int LL_put_tail(LList **, void *); int LL_put_front(LList **, void *); int LL_get_first(LList **, void **); void LL_init(LList **); void LL_copy(LList **, LList **); int LL_empty(LList *); |