|
solidc
Robust collection of general-purpose cross-platform C libraries and data structures designed for rapid and safe development in C
|
#include <list.h>
Public Attributes | |
| list_node_t * | head |
| list_node_t * | tail |
| size_t | size |
| size_t | elem_size |
A doubly-linked list data structure. Maintains both head and tail pointers for bidirectional traversal. Stores elements of uniform size specified at list creation.
| size_t list_t::elem_size |
Size in bytes of each element stored in the list.
Definition at line 42 of file list.h.
Referenced by list_index_of(), list_insert(), list_new(), list_push_back(), and list_push_front().
| list_node_t* list_t::head |
Pointer to the first node in the list. NULL if empty.
Definition at line 36 of file list.h.
Referenced by list_clear(), list_get(), list_index_of(), list_insert(), list_new(), list_pop_back(), list_pop_front(), list_push_back(), list_push_front(), and list_remove().
| size_t list_t::size |
Number of elements currently in the list.
Definition at line 40 of file list.h.
Referenced by list_clear(), list_get(), list_insert(), list_new(), list_pop_back(), list_pop_front(), list_push_back(), list_push_front(), list_remove(), and list_size().
| list_node_t* list_t::tail |
Pointer to the last node in the list. NULL if empty.
Definition at line 38 of file list.h.
Referenced by list_clear(), list_new(), list_pop_back(), list_pop_front(), list_push_back(), list_push_front(), and list_remove().