Detailed Description
The linked list interface.
- Since:
- 0.2.16
Typedef Documentation
Linked list node handle.
- Since:
- 0.2.16
Function Documentation
Append new node to a linked list.
- Parameters:
-
llst | Handle to a linked list node (if NULL, new linked list is created) |
data | Data to be appended to the list |
Example:
- Returns:
- Non-zero if an error occurred
- Since:
- 0.2.16
- Warning:
- Make sure that the data is allocated dynamically
- See also:
- quvi_llst_free
Return the size (number of nodes) in linked list.
- Parameters:
-
llst | Handle to a linked list node |
- Returns:
- Number of nodes
- Since:
- 0.2.16
Return next linked node.
- Parameters:
-
llst | Handle to a linked list node |
- Returns:
- Handle to the next linked list (or NULL)
- Since:
- 0.2.16
- Examples:
- callback_libsoup.c.
Return data of the linked list node.
- Parameters:
-
node | Handle to a linked list node |
- Returns:
- Pointer to the node data
- Since:
- 0.2.16
- Examples:
- callback_libsoup.c.
Release memory allocated by the linked list.
- Parameters:
-
llst | Handle to a linked list node |
- Since:
- 0.2.16