29#ifndef MY_LIST_INCLUDED
30#define MY_LIST_INCLUDED
51#define list_rest(a) ((a)->next)
unsigned int list_length(LIST *)
Definition: list.cc:99
LIST * list_cons(void *data, LIST *root)
Definition: list.cc:78
LIST * list_delete(LIST *root, LIST *element)
Definition: list.cc:59
LIST * list_reverse(LIST *root)
Definition: list.cc:86
void list_free(LIST *root, unsigned int free_data)
LIST * list_add(LIST *root, LIST *element)
Definition: list.cc:45
int list_walk(LIST *, list_walk_action action, unsigned char *argument)
Definition: list.cc:106
int(* list_walk_action)(void *, void *)
Definition: my_list.h:41
repeated Action action
Definition: replication_group_member_actions.proto:43
struct LIST * next
Definition: my_list.h:37
void * data
Definition: my_list.h:38
struct LIST * prev
Definition: my_list.h:37