#include <list.h>
Data Fields | |
struct ListNode * | head |
Head node. | |
struct ListNode * | tail |
Tail node. | |
size_t | length |
Number of items in the list. | |
int | mode |
Operation mode. | |
int(* | cmp )(void *, void *) |
Node comparator. | |
int(* | keyCmp )(void *, void *) |
Node key comparator. | |
void(* | destroy )(void *) |
Node data destructor. | |
void *(* | clone )(void *) |
Node data clone. | |
void(* | nodeLock )(void *) |
Node lock function. | |
void(* | nodeUnlock )(void *) |
Node unlock function. | |
struct Mutex * | lock |
List lock. | |
struct Semaphore * | sem |
List event semaphore. |
List structure.