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

linked_list.h File Reference

#include "common.h"
#include "config.h"
#include "collection.h"
#include "mempool.h"

Go to the source code of this file.

Data Structures

struct  _cp_list_entry
struct  _cp_list
struct  _cp_list_iterator


Detailed Description

linked list definitions

Definition in file linked_list.h.


Define Documentation

#define cp_list_rdlock list   )     cp_list_lock(list, COLLECTION_LOCK_READ)
 

Set a read lock on the object.

Definition at line 217 of file linked_list.h.

#define cp_list_wrlock list   )     cp_list_lock(list, COLLECTION_LOCK_WRITE)
 

Set a write lock on the object.

Definition at line 222 of file linked_list.h.


Typedef Documentation

typedef CPROPS_DLL struct _cp_list cp_list
 

doubly linked list type.

Referenced by cp_hashlist_iterator_to_key(), cp_list_create(), cp_list_create_list(), cp_priority_list_create_by_option(), and lookup_internal().

typedef CPROPS_DLL struct _cp_list_iterator cp_list_iterator
 

iterator helper-class of cp_list.

Referenced by cp_list_create_iterator(), and cp_thread_pool_stop().


Variable Documentation

__BEGIN_DECLS typedef CPROPS_DLL struct _cp_list_entry cp_list_entry
 

Internal object that references the content and links to the neighbour entries.

Referenced by cp_list_append(), cp_list_callback(), cp_list_insert(), cp_list_insert_after(), cp_list_insert_before(), cp_list_iterator_append(), cp_list_iterator_insert(), cp_list_iterator_remove(), cp_list_remove(), cp_list_remove_head(), cp_list_remove_tail(), and cp_list_search().


Generated on Sat Dec 1 10:25:30 2007 for cprops by  doxygen 1.3.9.1