#include <linklist.h>
Data Fields | |
T_RDWR | rwlock |
Struct for Locking. | |
int | size |
No. | |
int(* | match )(const void *key1, const void *key2) |
Callback Match function. | |
void(* | destroy )(void *data) |
Destroy function for one element. | |
ListElmt * | head |
Pointer to first element. | |
ListElmt * | tail |
Pointer to last element. |
Definition at line 55 of file linklist.h.
|
Destroy function for one element.
Referenced by list_destroy(), list_init(), and list_remove_each_if_func_eq_1(). |
|
Callback Match function. Compare two objects and return the result
Referenced by list_init(), list_internal_lookup(), and list_remove(). |
|
No. of elements in this list Definition at line 57 of file linklist.h. Referenced by list_init(), list_ins_next(), and list_rem_next(). |