quvi Linked list API | |
Functions | |
quvi_llst_append | Appends (or creates a new list) a element to a linked-list. |
quvi_llst_size | Returns the number of nodes in the linked list. |
quvi_llst_next | Returns the next node in the linked list. |
quvi_llst_data | Returns a pointer to the node data. |
quvi_llst_free | Releases memory allocated by the linked list. |
Appends (or creates a new list) a element to a linked-list.
QUVIcode quvi_llst_append( quvi_llst_node_t * l, void * data )
Returns the number of nodes in the linked list.
size_t quvi_llst_size( quvi_llst_node_t l )
Returns the next node in the linked list.
quvi_llst_node_t quvi_llst_next( quvi_llst_node_t l )
Returns a pointer to the node data.
void *quvi_llst_data( quvi_llst_node_t l )
Releases memory allocated by the linked list.
void quvi_llst_free( quvi_llst_node_t * l )