|
Contiki-NG
|
Implementation of circular, doubly-linked lists. More...
#include "contiki.h"#include "lib/dbl-circ-list.h"#include <stdint.h>#include <stdbool.h>#include <string.h>Go to the source code of this file.
Functions | |
| void | dbl_circ_list_init (dbl_circ_list_t dblcl) |
| Initialise a circular, doubly-linked list. More... | |
| void * | dbl_circ_list_head (dbl_circ_list_t dblcl) |
| Return the tail of a circular, doubly-linked list. More... | |
| void * | dbl_circ_list_tail (dbl_circ_list_t dblcl) |
| Return the tail of a circular, doubly-linked list. More... | |
| void | dbl_circ_list_remove (dbl_circ_list_t dblcl, void *element) |
| Remove an element from a circular, doubly-linked list. More... | |
| void | dbl_circ_list_add_head (dbl_circ_list_t dblcl, void *element) |
| Add an element to the head of a circular, doubly-linked list. More... | |
| void | dbl_circ_list_add_tail (dbl_circ_list_t dblcl, void *element) |
| Add an element to the tail of a circular, doubly-linked list. More... | |
| void | dbl_circ_list_add_after (dbl_circ_list_t dblcl, void *existing, void *element) |
| Add an element to a circular, doubly linked list after an existing element. More... | |
| void | dbl_circ_list_add_before (dbl_circ_list_t dblcl, void *existing, void *element) |
| Add an element to a circular, doubly linked list before an existing element. More... | |
| unsigned long | dbl_circ_list_length (dbl_circ_list_t dblcl) |
| Get the length of a circular, doubly-linked list. More... | |
| bool | dbl_circ_list_is_empty (dbl_circ_list_t dblcl) |
| Determine whether a circular, doubly-linked list is empty. More... | |
Implementation of circular, doubly-linked lists.
Definition in file dbl-circ-list.c.
1.8.13