#include <stdlib.h>
#include "idliste.h"
#include "idprint.h"
Go to the source code of this file.
Functions | |
void | _IdFreeElement (PLIST_ELEMENT p, int d) |
Destruction of an element of a list. | |
void | _IdLstFree (PLIST *lst) |
Destruction of a list. | |
PLIST_ELEMENT | _IdLstAllocElement (void) |
Allocation of an element. | |
PLIST | IdLstAlloc (void) |
Allocation of a list. | |
PLIST_ELEMENT | IdLstSearchElemObj (PLIST pl, void *obj) |
Get an element from a list. | |
PLIST_ELEMENT | IdLstFindElem (PLIST pl, int(*UserCompareFonc)(PLIST_ELEMENT, void *), void *key) |
Get an element from a list by using a comparison key. | |
void | _IdLstDestroyNoControl (PLIST *lst, VOID_FUNCTION_VOIDP_POINTER foncDestr) |
Destruction of a list AND the OBJECTS it refers to. | |
void | IdLstClear (PLIST lst) |
Deletion of the elements of a list BUT not the OBJECTS it refers to. | |
void | IdLstDestroyElemNoControl (PLIST lst, PLIST_ELEMENT elem, VOID_FUNCTION_VOIDP_POINTER foncDestr) |
Deletion of an element of a list AND the refering object. | |
PLIST | IdLstCopy (PLIST lst) |
Duplication of a list AND it's elements BUT NOT the refered objects. |
|
Destruction of an element of a list.
Definition at line 54 of file lstallo.c. References d, _elem::Next, and _elem::Pred. Referenced by _IdLstFree(). |
|
Allocation of an element.
Definition at line 103 of file lstallo.c. References IdErrPrintf(). |
|
Destruction of a list AND the OBJECTS it refers to.
Definition at line 207 of file lstallo.c. References _IdLstFree(), IdLstFirst, IdLstNext, and IdLstPtrObj. |
|
Destruction of a list.
Definition at line 70 of file lstallo.c. References _IdFreeElement(), _IdLstPrivate, IdLstList, IdLstNbElems, _elem::Next, and _elem::Pred. Referenced by _IdLstDestroyNoControl(). |
|
Allocation of a list.
Definition at line 121 of file lstallo.c. References PRIVATE_LIST::_fichier, PRIVATE_LIST::_message, IdErrPrintf(), LST, and PRIVATE_LIST::Type. Referenced by IdDcmHdrAlloc(). |
|
Deletion of the elements of a list BUT not the OBJECTS it refers to.
Definition at line 231 of file lstallo.c. References IdLstFirst, IdLstNext, and IdLstRemoveElem(). |
|
Duplication of a list AND it's elements BUT NOT the refered objects.
Definition at line 276 of file lstallo.c. References PRIVATE_LIST::_fichier, PRIVATE_LIST::_message, IdErrPrintf(), IdLstAddLast, IdLstFirst, IdLstNext, IdLstPtrObj, LST, and PRIVATE_LIST::Type. |
|
Deletion of an element of a list AND the refering object.
Definition at line 256 of file lstallo.c. References IdLstPtrObj, and IdLstRemoveElem(). |
|
Get an element from a list by using a comparison key.
Definition at line 183 of file lstallo.c. References IdLstFirst, _elem::Next, and PLIST_ELEMENT. |
|
Get an element from a list.
Definition at line 147 of file lstallo.c. References IdLstFirst, _elem::Next, and _elem::Object. |