1: /*
   2: ** Stuff for fiddlin' linked lists
   3: ** Erik E. Fair <fair@ucbarpa.berkeley.edu>
   4: */
   5: 
   6: struct llist {
   7:     struct llist    *l_next;
   8:     caddr_t     l_item;
   9:     int     l_len;
  10: };
  11: 
  12: typedef struct llist    ll_t;
  13: 
  14: extern void l_free();
  15: extern ll_t *l_alloc();
  16: 
  17: #ifndef NULL
  18: #define NULL    0
  19: #endif
  20: 
  21: #define L_LOOP(p,head)  \
  22:     for(p = &head; p->l_item != (caddr_t)NULL; p = p->l_next)

Defined struct's

llist defined in line 6; used 4 times
  • in line 7-12(4)

Defined typedef's

ll_t defined in line 12; used 15 times

Defined macros

L_LOOP defined in line 21; used 1 times
NULL defined in line 18; used 57 times

Usage of this include

Last modified: 1987-11-14
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 2273
Valid CSS Valid XHTML 1.0 Strict