32
32
extern LIST *list_cons(void *data,LIST *root);
33
33
extern LIST *list_reverse(LIST *root);
34
34
extern void list_free(LIST *root,unsigned int free_data);
35
36
extern int list_walk(LIST *,list_walk_action action,unsigned char * argument);
37
38
#define list_rest(a) ((a)->next)
38
39
#define list_push(a,b) (a)=list_cons((b),(a))
40
#define list_pop(A) {LIST *old=(A); (A)=list_delete(old,old) ; my_free((unsigned char *) old,MYF(MY_FAE)); }