3 * chain base definitions
7 #ifndef _CHAIN_DEFS /* chain definitions */
11 struct _reft *next, *prev;
14 extern void chain_init(reft *);
15 extern void chain_insert(reft *, void *);
16 extern void chain_add(reft *, void *);
17 extern void *chain_delete(void *);
18 extern void *chain_get_next(reft *, void *);
19 extern void *chain_get_prev(reft *, void *);
20 extern void chain_rechain(reft *, void *);
21 extern int chain_empty_test(reft *);
22 extern void chain_flush(reft *);
23 extern reft *chain_new(void);
25 #define is_chain_empty chain_empty_test