|
Defines |
#define | rest(a) ((a)->next) |
#define | list_push(a, b) (a)=list_cons((b),(a)) |
#define | list_pop(A) {LIST *old=(A); (A)=list_delete(old,old) ; my_free((gptr) old,MYF(MY_FAE)); } |
Typedefs |
typedef st_list | LIST |
typedef int(* | list_walk_action )(void *, void *) |
Functions |
LIST * | list_add (LIST *root, LIST *element) |
LIST * | list_delete (LIST *root, LIST *element) |
LIST * | list_cons (void *data, LIST *root) |
LIST * | list_reverse (LIST *root) |
void | list_free (LIST *root, unsigned int free_data) |
unsigned int | list_length (LIST *) |
int | list_walk (LIST *, list_walk_action action, gptr argument) |