doubly linked list type. More...
#include <linked_list.h>
Data Fields | |
cp_list_entry * | head |
link to beginning of list | |
cp_list_entry * | tail |
link to end of list | |
cp_compare_fn | compare_fn |
comparison method | |
cp_copy_fn | copy_fn |
copy method | |
cp_destructor_fn | free_fn |
item destructor | |
int | mode |
operation mode (see collection.h) | |
cp_thread | txowner |
current lock owner | |
long | items |
number of elements in list | |
int | is_view |
views don't have their own lock | |
cp_lock * | lock |
lock | |
int | txtype |
lock type | |
cp_mempool * | mempool |
optional memory pool |
doubly linked list type.