Home
last modified time | relevance | path

Searched refs:the_list (Results 1 – 1 of 1) sorted by relevance

/net-tools-latest/libcoap/include/coap/
Dt_list.h94 list_head(list_t the_list) { in list_head() argument
95 return *the_list; in list_head()
99 list_remove(list_t the_list, void *item) { in list_remove() argument
100 if (list_head(the_list)) in list_remove()
101 LL_DELETE(*(struct list **)the_list, (struct list *)item); in list_remove()
105 list_add(list_t the_list, void *item) { in list_add() argument
106 list_remove(the_list, item); in list_add()
107 LL_APPEND(*(struct list **)the_list, (struct list *)item); in list_add()
111 list_push(list_t the_list, void *item) { in list_push() argument
112 LL_PREPEND(*(struct list **)the_list, (struct list *)item); in list_push()
[all …]