Main Page | Modules | Alphabetical List | Data Structures | File List | Data Fields | Globals

_cp_list Struct Reference

#include <linked_list.h>


Data Fields

cp_list_entryhead
cp_list_entrytail
cp_compare_fn compare_fn
cp_copy_fn copy_fn
cp_destructor_fn free_fn
int mode
cp_thread txowner
long items
int is_view
cp_lock * lock
int txtype
cp_mempool * mempool


Detailed Description

doubly linked list type.

Definition at line 33 of file linked_list.h.


Field Documentation

cp_compare_fn _cp_list::compare_fn
 

comparison method

Definition at line 38 of file linked_list.h.

cp_copy_fn _cp_list::copy_fn
 

copy method

Definition at line 39 of file linked_list.h.

cp_destructor_fn _cp_list::free_fn
 

item destructor

Definition at line 40 of file linked_list.h.

cp_list_entry* _cp_list::head
 

link to beginning of list

Definition at line 35 of file linked_list.h.

Referenced by cp_hashlist_iterator_append(), cp_hashlist_iterator_insert(), cp_hashlist_iterator_next(), cp_hashlist_iterator_remove(), and cp_hashlist_iterator_to_key().

int _cp_list::is_view
 

views don't have their own lock

Definition at line 47 of file linked_list.h.

long _cp_list::items
 

number of elements in list

Definition at line 45 of file linked_list.h.

Referenced by cp_hashlist_iterator_append(), and cp_hashlist_iterator_insert().

cp_lock* _cp_list::lock
 

lock

Definition at line 48 of file linked_list.h.

cp_mempool* _cp_list::mempool
 

optional memory pool

Definition at line 51 of file linked_list.h.

int _cp_list::mode
 

operation mode (see collection.h)

Definition at line 42 of file linked_list.h.

cp_list_entry* _cp_list::tail
 

link to end of list

Definition at line 36 of file linked_list.h.

Referenced by cp_hashlist_iterator_append(), cp_hashlist_iterator_insert(), and cp_hashlist_iterator_prev().

cp_thread _cp_list::txowner
 

current lock owner

Definition at line 43 of file linked_list.h.

int _cp_list::txtype
 

lock type

Definition at line 49 of file linked_list.h.


The documentation for this struct was generated from the following file:
Generated on Sat Dec 1 10:25:30 2007 for cprops by  doxygen 1.3.9.1