28#ifndef MY_LIST_INCLUDED
29#define MY_LIST_INCLUDED
50#define list_rest(a) ((a)->next)
unsigned int list_length(LIST *)
Definition: list.cc:98
LIST * list_cons(void *data, LIST *root)
Definition: list.cc:77
LIST * list_delete(LIST *root, LIST *element)
Definition: list.cc:58
LIST * list_reverse(LIST *root)
Definition: list.cc:85
void list_free(LIST *root, unsigned int free_data)
LIST * list_add(LIST *root, LIST *element)
Definition: list.cc:44
int list_walk(LIST *, list_walk_action action, unsigned char *argument)
Definition: list.cc:105
int(* list_walk_action)(void *, void *)
Definition: my_list.h:40
repeated Action action
Definition: replication_group_member_actions.proto:42
struct LIST * next
Definition: my_list.h:36
void * data
Definition: my_list.h:37
struct LIST * prev
Definition: my_list.h:36