uint8_t list_get_by_index(list_t *list, uint8_t index, void *data)
Definition: Linked_list.c:628
Linked list structure definition.
Definition: Linked_list.h:57
Node structure definition.
Definition: Linked_list.h:67
pthread_mutex_t lock
Definition: Linked_list.h:63
void list_destroy(list_t *list)
Definition: Linked_list.c:263
void list_for_each(list_t *list, void(*eachFn)(const void *data, void *arg), void *arg)
Definition: Linked_list.c:748
void list_init(list_t *list, size_t dataSize)
Definition: Linked_list.c:193
void list_free(list_t *list)
Definition: Linked_list.c:225
void list_print(list_t *list, void(*printFn)(const void *data))
Definition: Linked_list.c:689
node_t * tail
Definition: Linked_list.h:62
void * data
Definition: Linked_list.h:69
size_t dataSize
Definition: Linked_list.h:60
uint8_t list_pop_front(list_t *list, void *data)
Definition: Linked_list.c:554
uint8_t numElements
Definition: Linked_list.h:59
node_t * head
Definition: Linked_list.h:61
void list_push(list_t *list, const void *data)
Definition: Linked_list.c:327
void list_push_front(list_t *list, const void *data)
Definition: Linked_list.c:391
uint8_t list_pop(list_t *list, void *data)
Definition: Linked_list.c:475
node_t * next
Definition: Linked_list.h:70
uint8_t list_size(list_t *list)
Definition: Linked_list.c:801