If you want to have some debugging control try changing the debug level at compile time, and lowering the debug level asociated to the list function as defined in eg_configure.h.
Files | |
| file | eg_list.h |
Data Structures | |
| struct | EGlist_t |
| List Basic Structure. More... | |
| struct | EGlistNode_t__ |
| List Node Structure. More... | |
Defines | |
| #define | EGclistGetNextIt(list, node) ((node)->next ? (node)->next : (list)->begin) |
| Given a list and a node_iterator return the next node iterator of the list but in a circular way. | |
| #define | EGclistRoot(list) ((list)->begin) |
Typedefs | |
| typedef EGlistNode_t__ | EGlistNode_t |
| List Node Structure. | |
Functions | |
| void | EGfreeList (void *mylist) |
| Return the list's memory to the memory pool. | |
| void | EGfreeListNode (void *localNode, EGmemPool_t *mypool) |
| Return the list node memory to the memory pool. | |
| void | EGfreeListNodeMP (void *localNode, EGfreeMP_f dataFree, EGmemPool_t *structmem, EGmemPool_t *datamem) |
| Free one node and return the internal data to the specified memory pool. | |
| int | EGlistAttach (EGlist_t *list, EGlistNode_t *eg_node) |
| attach a node to the list at the end of the list | |
| int | EGlistClear (EGlist_t *mylist, EGfree_f dataFree) |
| given an initialized list, left it at its initial state (just after EGnewList). | |
| int | EGlistClearMP (EGlist_t *mylist, EGfreeMP_f dataFree, EGmemPool_t *datamem) |
| Clean out the list and leave it in its original state, the internal memory is returned to the provided memory pool. | |
| void * | EGlistCopy (void *source) |
| Create a copy of the given list using as memory pool the memory pool of the given list. | |
| int | EGlistErase (EGlist_t *mylist, EGlistNode_t *mynode, EGfree_f dataFree) |
| Eliminate one node form the list. | |
| int | EGlistEraseMP (EGlist_t *mylist, EGlistNode_t *mynode, EGfreeMP_f dataFree, EGmemPool_t *datamem) |
| Erase a node from the list and retunr internal data to a specified memory pool. | |
| EGlistNode_t * | EGlistFind (EGlist_t *mylist, const void *mem) |
| Look for a user data pointer in the provided list. | |
| int | EGlistInsertAfter (EGlist_t *mylist, EGlistNode_t *node, void *data) |
| Add to the list a new node pointing to the provided data that is after the given node in the list. | |
| int | EGlistInsertBefore (EGlist_t *mylist, EGlistNode_t *node, void *data) |
| Add to the list a new node pointing to the provided data that is before the given node in the list. | |
| int | EGlistLink (EGlist_t *dlist, EGlist_t *olist) |
| Move the contents of the second list into the tail of the first list. | |
| int | EGlistMoveNode (EGlist_t *sourceList, EGlist_t *destList, EGlistNode_t *localNode) |
| move anode from one list to the end of another. | |
| int | EGlistPushBack (EGlist_t *mylist, void *data) |
| Add to the (end of the) list a new node pointing to the provided data. | |
| int | EGlistPushHead (EGlist_t *mylist, void *data) |
| Add to the (begining of the) list a new node pointing to the provided data. | |
| int | EGlistUnattach (EGlist_t *list, EGlistNode_t *eg_node) |
| unattach a node from the list, without erasing it | |
| EGlist_t * | EGnewList (EGmemPool_t *mypool) |
| alloc a new initialized list. | |
|
|
Given a list and a node_iterator return the next node iterator of the list but in a circular way.
|
|
|
|
|
|
List Node Structure.
|
|
|
Return the list's memory to the memory pool.
|
|
||||||||||||
|
Return the list node memory to the memory pool.
|
|
||||||||||||||||||||
|
Free one node and return the internal data to the specified memory pool.
|
|
||||||||||||
|
attach a node to the list at the end of the list
|
|
||||||||||||
|
given an initialized list, left it at its initial state (just after EGnewList).
|
|
||||||||||||||||
|
Clean out the list and leave it in its original state, the internal memory is returned to the provided memory pool.
|
|
|
Create a copy of the given list using as memory pool the memory pool of the given list.
Definition at line 520 of file eg_list.h. Here is the call graph for this function: ![]() |
|
||||||||||||||||
|
Eliminate one node form the list.
|
|
||||||||||||||||||||
|
Erase a node from the list and retunr internal data to a specified memory pool.
|
|
||||||||||||
|
Look for a user data pointer in the provided list.
|
|
||||||||||||||||
|
Add to the list a new node pointing to the provided data that is after the given node in the list.
|
|
||||||||||||||||
|
Add to the list a new node pointing to the provided data that is before the given node in the list.
|
|
||||||||||||
|
Move the contents of the second list into the tail of the first list.
|
|
||||||||||||||||
|
move anode from one list to the end of another.
|
|
||||||||||||
|
Add to the (end of the) list a new node pointing to the provided data.
|
|
||||||||||||
|
Add to the (begining of the) list a new node pointing to the provided data.
|
|
||||||||||||
|
unattach a node from the list, without erasing it
|
|
|
alloc a new initialized list.
|
1.4.5