23 assert(NULL == node->
next);
37 assert(NULL == node->
next);
47 if (nodecmp(node, list->
tail) >= 0) {
59 nodecmp(node, curr) >= 0;
67 assert(NULL == node->
next);
#define containerof(ptr, type, member)
list_node_t * list_iterate(list_t *list, list_iterator_t *iter)
bool list_contains(list_t *list, list_node_t *node, list_iterator_t *iter)
list_node_t * list_iterator_next(list_iterator_t *iter)
void list_iterator_insert(list_iterator_t *iter, list_node_t *node)
int list_node_compare_t(list_node_t *, list_node_t *)
list_node_t * list_iterator_remove(list_iterator_t *iter)
void list_insert(list_t *list, list_node_t *node)
void list_insert_sorted(list_t *list, list_node_t *node, list_node_compare_t *nodecmp)
list_node_t * list_extract(list_t *list)
void list_push(list_t *list, list_node_t *node)
bool list_remove(list_t *list, list_node_t *node)