_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_mempoolmempool


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_list_create_internal().

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.

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.

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 Mon Dec 5 23:00:23 2011 for cprops by  doxygen 1.4.7