|
clist
A multi-mode C linked list library/implementation
|
A double-way linked list. More...
#include <clist.h>
Data Fields | |
| struct node * | begin |
| struct node * | current |
| struct node * | end |
| size_t | item_size |
| unsigned long | current_index |
| size_t | list_length |
A double-way linked list.
This structure is a double-way linked list. It should be modified and accessed with the functions written for this purpose, which should be found in /src.
| begin |
A node-typed pointer that points to the node which is the beginning of the list.
| current |
A node-typed pointer that points to the node which is the current element "focused".
| current_index |
An unsigned long variable that is used to note at which index clist::current is, on the list.
| end |
A node-typed pointer that points to the node which is the end of the list.
| item_size |
A size_t variable which describes the size of data that is stored into a single node.
| list_length |
A size_t variable indicating the list length/item count that is updated on every list operation involving removal or insertion of items.