Home
last modified time | relevance | path

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

/net-tools-3.5.0/libcoap/examples/
Dcoap_list.h16 typedef struct coap_list_t { struct
17 struct coap_list_t *next; argument
19 } coap_list_t; argument
25 int coap_insert(coap_list_t **queue, coap_list_t *node);
28 int coap_delete(coap_list_t *node);
31 void coap_delete_list(coap_list_t *queue);
Dcoap_list.c22 coap_insert(coap_list_t **head, coap_list_t *node) { in coap_insert()
35 coap_delete(coap_list_t *node) { in coap_delete()
43 coap_delete_list(coap_list_t *queue) { in coap_delete_list()
44 coap_list_t *elt, *tmp; in coap_delete_list()
Dclient.c36 static coap_list_t *optlist = NULL;
123 o1 = (coap_option *)(((coap_list_t *)a)->data); in order_opts()
124 o2 = (coap_option *)(((coap_list_t *)b)->data); in order_opts()
134 coap_list_t **options, in coap_new_request()
138 coap_list_t *opt; in coap_new_request()
182 coap_list_t *option; in clear_obs()
326 coap_list_t *option; in message_handler()
575 static coap_list_t *
577 coap_list_t *node; in new_option_node()
579 node = coap_malloc(sizeof(coap_list_t) + sizeof(coap_option) + length); in new_option_node()
[all …]
/net-tools-3.5.0/
Dcoap-client.c122 typedef struct coap_list_t { struct
123 struct coap_list_t *next; argument
125 } coap_list_t; argument
157 static coap_list_t *optlist;
168 coap_list_t **options,
616 static coap_list_t *new_option_node(unsigned short key, in new_option_node()
620 coap_list_t *node; in new_option_node()
622 node = coap_malloc(sizeof(coap_list_t) + sizeof(coap_option) + length); in new_option_node()
637 static int coap_insert(coap_list_t **head, coap_list_t *node) in coap_insert()
648 static int coap_delete(coap_list_t *node) in coap_delete()
[all …]