#include "config.h"#include <stdio.h>#include <string.h>#include "debug.h"#include "mem.h"#include "coap_list.h"Go to the source code of this file.
Functions | |
| int | coap_insert (coap_list_t **queue, coap_list_t *node, int(*order)(void *, void *node)) |
| int | coap_delete (coap_list_t *node) |
| void | coap_delete_list (coap_list_t *queue) |
| coap_list_t * | coap_new_listnode (void *data, void(*delete_func)(void *)) |
| Creates a new list node and adds the given data object. More... | |
| int coap_delete | ( | coap_list_t * | node | ) |
Definition at line 52 of file coap_list.c.
| void coap_delete_list | ( | coap_list_t * | queue | ) |
Definition at line 65 of file coap_list.c.
| int coap_insert | ( | coap_list_t ** | queue, |
| coap_list_t * | node, | ||
| int(*)(void *, void *node) | order | ||
| ) |
Definition at line 19 of file coap_list.c.
| coap_list_t* coap_new_listnode | ( | void * | data, |
| void(*)(void *) | delete_func | ||
| ) |
Creates a new list node and adds the given data object.
The memory allocated by data will be released by coap_delete() with the new node. Returns the new list node.
Definition at line 74 of file coap_list.c.
1.8.6