组合类型 |
struct | st_list |
宏定义 |
#define | list_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((unsigned char *) old,MYF(MY_FAE)); } |
类型定义 |
typedef struct st_list | LIST |
typedef int(* | list_walk_action )(void *, void *) |
函数 |
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, unsigned char *argument) |