Lines Matching refs:coap_list_t
122 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()
656 static void coap_delete_list(coap_list_t *queue) in coap_delete_list()
658 coap_list_t *elt, *tmp; in coap_delete_list()
668 static coap_list_t *parse_uri(const char *arg) in parse_uri()
671 coap_list_t *opts = NULL; in parse_uri()
714 static coap_list_t *clone_option(coap_list_t *item) in clone_option()
716 coap_list_t *node; in clone_option()
719 node = coap_malloc(sizeof(coap_list_t) + sizeof(coap_option) + in clone_option()
747 coap_list_t *opts; in create_pdu()
748 coap_list_t *elt, *tmp; in create_pdu()
1118 coap_list_t *option; in add_options()
1145 o1 = (coap_option *)(((coap_list_t *)a)->data); in order_opts()
1146 o2 = (coap_option *)(((coap_list_t *)b)->data); in order_opts()
1154 coap_list_t **options, in coap_new_request()
1160 coap_list_t *opt; in coap_new_request()