Copyright (C) RivieraWaves 2011-2019. More...
#include "co_int.h"#include "co_bool.h"#include <stddef.h>#include "rwnx_config.h"#include "compiler.h"Go to the source code of this file.
Data Structures | |
| struct | co_dlist_hdr |
| Double linked list element header. More... | |
| struct | co_dlist |
| Double link list. More... | |
Functions | |
| void | co_dlist_init (struct co_dlist *list) |
| Initialize the double linked list. | |
| void | co_dlist_push_back (struct co_dlist *list, struct co_dlist_hdr *list_hdr) |
| Add an element at the end of the double linked list. | |
| void | co_dlist_push_front (struct co_dlist *list, struct co_dlist_hdr *list_hdr) |
| Add an element at the beginning of the double linked list. | |
| struct co_dlist_hdr * | co_dlist_pop_front (struct co_dlist *list) |
| Extract the first element of the double linked list. | |
| void | co_dlist_extract (struct co_dlist *list, struct co_dlist_hdr const *list_hdr) |
| Search for a specific element in the list, and extract it if found. | |
| __INLINE bool | co_dlist_is_empty (struct co_dlist const *list) |
| Test if the list is empty. | |
| __INLINE uint32_t | co_dlist_cnt (struct co_dlist const *list) |
| Return the number of element of the list. | |
| __INLINE struct co_dlist_hdr * | co_dlist_pick (struct co_dlist const *list) |
| Pick the first element from the list without removing it. | |
| __INLINE struct co_dlist_hdr * | co_dlist_next (struct co_dlist_hdr const *list_hdr) |
| Return following element of a list element. | |
Copyright (C) RivieraWaves 2011-2019.
Double linked list structures definitions
Definition in file co_dlist.h.
1.6.1