this module implement the list support used in various place in the library. Table of ContentsStructure xmlLink struct _xmlLink
The content of this structure is not made public by the API.
Typedef xmlLink * xmlLinkPtr
Structure xmlList struct _xmlList
The content of this structure is not made public by the API.
Typedef xmlList * xmlListPtr
void * xmlLinkGetData (xmlLinkPtr lk)
int xmlListAppend (xmlListPtr l, void * data)
void xmlListClear (xmlListPtr l)
int xmlListCopy (xmlListPtr cur, const xmlListPtr old)
xmlListPtr xmlListCreate (xmlListDeallocator deallocator, xmlListDataCompare compare)
Function type: xmlListDataCompare
int xmlListDataCompare (const void * data0, const void * data1)
Function type: xmlListDeallocator
void xmlListDeallocator (xmlLinkPtr lk)
void xmlListDelete (xmlListPtr l)
xmlListPtr xmlListDup (const xmlListPtr old)
int xmlListEmpty (xmlListPtr l)
xmlLinkPtr xmlListEnd (xmlListPtr l)
xmlLinkPtr xmlListFront (xmlListPtr l)
int xmlListInsert (xmlListPtr l, void * data)
void xmlListMerge (xmlListPtr l1, xmlListPtr l2)
void xmlListPopBack (xmlListPtr l)
void xmlListPopFront (xmlListPtr l)
int xmlListPushBack (xmlListPtr l, void * data)
int xmlListPushFront (xmlListPtr l, void * data)
int xmlListRemoveAll (xmlListPtr l, void * data)
int xmlListRemoveFirst (xmlListPtr l, void * data)
int xmlListRemoveLast (xmlListPtr l, void * data)
void xmlListReverse (xmlListPtr l)
void * xmlListReverseSearch (xmlListPtr l, void * data)
void xmlListReverseWalk (xmlListPtr l, xmlListWalker walker, const void * user)
void * xmlListSearch (xmlListPtr l, void * data)
int xmlListSize (xmlListPtr l)
void xmlListSort (xmlListPtr l)
void xmlListWalk (xmlListPtr l, xmlListWalker walker, const void * user)
Function type: xmlListWalker
int xmlListWalker (const void * data, const void * user)
Description
Structure xmlLink struct _xmlLink {
The content of this structure is not made public by the API.
} Structure xmlList struct _xmlList {
The content of this structure is not made public by the API.
} Function: xmlLinkGetDatavoid * xmlLinkGetData (xmlLinkPtr lk)
See Returns.
| lk: | a link | | Returns: | a pointer to the data referenced from this link |
Function: xmlListAppendint xmlListAppend (xmlListPtr l, void * data)
Insert data in the ordered list at the end for this value
| l: | a list | | data: | the data | | Returns: | 0 in case of success, 1 in case of failure |
Function: xmlListClearvoid xmlListClear (xmlListPtr l)
Remove the all data in the list
Function: xmlListCopyint xmlListCopy (xmlListPtr cur, const xmlListPtr old)
Move all the element from the old list in the new list
| cur: | the new list | | old: | the old list | | Returns: | 0 in case of success 1 in case of error |
Function: xmlListCreatexmlListPtr xmlListCreate (xmlListDeallocator deallocator, xmlListDataCompare compare)
Create a new list
|