Doubly-linked list. More...
#include <doubly-linked_list.h>
Public Attributes | |
| size_t | size |
| Number of nodes. | |
| struct dlList_node * | head |
| Pointer to first node. | |
| struct dlList_node * | tail |
| Pointer to last node. | |
| int(* | compare )(const void *data1, const void *data2) |
| Pointer to a user-supplied comparison function. May be NULL. | |
| void(* | destroy )(void *data) |
| Pointer to a user-supplied node user-data destroy function. May be NULL. | |
| void *(* | copy )(const void *data) |
| Pointer to a user-supplied function that makes a deep copy of a supplied user data. May be NULL, in which case data is always shared when nodes are copied. | |
Doubly-linked list.
1.8.1.2