cdcontainers
0.1.1
Library of data containers and collections for C programming language.
|
The cdc_list is a struct and functions that provide a doubly linked list. More...
Modules | |
Base | |
Element access | |
Capacity | |
Modifiers | |
Operations | |
Iterators | |
Cdc_list_iter | |
The cdc_list_iter is a struct and functions that provide a list iterator. | |
Data Structures | |
struct | cdc_list_node |
The cdc_list_node is service struct. More... | |
struct | cdc_list |
The cdc_lisе is service struct. More... | |
struct | cdc_list_iter |
The cdc_list_iterator is service struct. More... | |
struct | cdc_list_riter |
The cdc_list_riter is service struct. More... | |
Macros | |
#define | CDC_LIST_FOR_EACH(item, list) for (cdc_list_node * (item) = (list->head); (item); (item) = (item)->next) |
For-each macro. More... | |
Variables | |
struct cdc_list_node * | next |
struct cdc_list_node * | prev |
void * | data |
struct cdc_list_node * | head |
struct cdc_list_node * | tail |
size_t | size |
struct cdc_data_info * | dinfo |
struct cdc_list * | container |
struct cdc_list_node * | current |
struct cdc_list * | container |
struct cdc_list_node * | current |
The cdc_list is a struct and functions that provide a doubly linked list.
#define CDC_LIST_FOR_EACH | ( | item, | |
list | |||
) | for (cdc_list_node * (item) = (list->head); (item); (item) = (item)->next) |
For-each macro.
Example:
struct cdc_list_node* next |
struct cdc_list_node* prev |
void* data |
struct cdc_list_node* head |
struct cdc_list_node* tail |
size_t size |
struct cdc_data_info* dinfo |
struct cdc_list* container |
struct cdc_list_node* current |
struct cdc_list* container |
struct cdc_list_node* current |