#include <psList.h>
Collaboration diagram for psList:

User should not allocate this struct directly; rather the psListAlloc should be used.
Definition at line 50 of file psList.h.
Data Fields | |
| long | n |
| number of elements on list | |
| psListElem * | head |
| first element on list (may be NULL) | |
| psListElem * | tail |
| last element on list (may be NULL) | |
| psArray * | iterators |
| array of all iterators associated with this list. | |
| void * | lock |
| Optional lock for thread safety. | |
|
|
first element on list (may be NULL)
|
|
|
array of all iterators associated with this list. First iterator is used internally to improve performance when using indexed access, all others are user-level iterators created by psListIteratorAlloc. |
|
|
Optional lock for thread safety.
|
|
|
number of elements on list
|
|
|
last element on list (may be NULL)
|
1.4.4