ReactOS 0.4.15-dev-7897-g78dc504
list.h
Go to the documentation of this file.
1/*
2 * Summary: lists interfaces
3 * Description: this module implement the list support used in
4 * various place in the library.
5 *
6 * Copy: See Copyright for the status of this software.
7 *
8 * Author: Gary Pennington <Gary.Pennington@uk.sun.com>
9 */
10
11#ifndef __XML_LINK_INCLUDE__
12#define __XML_LINK_INCLUDE__
13
14#include <libxml/xmlversion.h>
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20typedef struct _xmlLink xmlLink;
22
23typedef struct _xmlList xmlList;
25
42typedef int (*xmlListDataCompare) (const void *data0, const void *data1);
52typedef int (*xmlListWalker) (const void *data, void *user);
53
54/* Creation/Deletion */
60
61/* Basic Operators */
62XMLPUBFUN void * XMLCALL
64 void *data);
65XMLPUBFUN void * XMLCALL
67 void *data);
70 void *data) ;
73 void *data) ;
76 void *data);
79 void *data);
82 void *data);
93
100 void *data);
103 void *data);
104
105/* Advanced Operators */
112 xmlListWalker walker,
113 void *user);
116 xmlListWalker walker,
117 void *user);
120 xmlListPtr l2);
122 xmlListDup (const xmlListPtr old);
125 const xmlListPtr old);
126/* Link operators */
127XMLPUBFUN void * XMLCALL
129
130/* xmlListUnique() */
131/* xmlListSwap */
132
133#ifdef __cplusplus
134}
135#endif
136
137#endif /* __XML_LINK_INCLUDE__ */
void user(int argc, const char *argv[])
Definition: cmds.c:1350
r l[0]
Definition: byte_order.h:168
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
Definition: typeof.h:31
#define XMLCALL
FxCollectionEntry * cur
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
xmlLink * xmlLinkPtr
Definition: list.h:21
XMLPUBFUN void XMLCALL xmlListSort(xmlListPtr l)
Definition: list.c:643
XMLPUBFUN void XMLCALL xmlListWalk(xmlListPtr l, xmlListWalker walker, void *user)
Definition: list.c:676
XMLPUBFUN int XMLCALL xmlListEmpty(xmlListPtr l)
Definition: list.c:446
XMLPUBFUN void XMLCALL xmlListClear(xmlListPtr l)
Definition: list.c:422
XMLPUBFUN void XMLCALL xmlListReverse(xmlListPtr l)
Definition: list.c:618
XMLPUBFUN xmlLinkPtr XMLCALL xmlListFront(xmlListPtr l)
Definition: list.c:462
XMLPUBFUN int XMLCALL xmlListSize(xmlListPtr l)
Definition: list.c:494
xmlList * xmlListPtr
Definition: list.h:24
XMLPUBFUN void *XMLCALL xmlLinkGetData(xmlLinkPtr lk)
Definition: list.c:604
XMLPUBFUN void *XMLCALL xmlListSearch(xmlListPtr l, void *data)
Definition: list.c:231
XMLPUBFUN int XMLCALL xmlListPushBack(xmlListPtr l, void *data)
Definition: list.c:574
XMLPUBFUN xmlListPtr XMLCALL xmlListDup(const xmlListPtr old)
Definition: list.c:732
XMLPUBFUN int XMLCALL xmlListAppend(xmlListPtr l, void *data)
Definition: list.c:305
XMLPUBFUN void XMLCALL xmlListReverseWalk(xmlListPtr l, xmlListWalker walker, void *user)
Definition: list.c:697
XMLPUBFUN int XMLCALL xmlListInsert(xmlListPtr l, void *data)
Definition: list.c:273
XMLPUBFUN void XMLCALL xmlListDelete(xmlListPtr l)
Definition: list.c:333
XMLPUBFUN int XMLCALL xmlListRemoveAll(xmlListPtr l, void *data)
Definition: list.c:403
XMLPUBFUN xmlListPtr XMLCALL xmlListCreate(xmlListDeallocator deallocator, xmlListDataCompare compare)
Definition: list.c:188
XMLPUBFUN int XMLCALL xmlListPushFront(xmlListPtr l, void *data)
Definition: list.c:542
int(* xmlListWalker)(const void *data, void *user)
Definition: list.h:52
XMLPUBFUN void XMLCALL xmlListMerge(xmlListPtr l1, xmlListPtr l2)
Definition: list.c:717
XMLPUBFUN int XMLCALL xmlListRemoveFirst(xmlListPtr l, void *data)
Definition: list.c:353
XMLPUBFUN void XMLCALL xmlListPopFront(xmlListPtr l)
Definition: list.c:513
void(* xmlListDeallocator)(xmlLinkPtr lk)
Definition: list.h:32
XMLPUBFUN int XMLCALL xmlListRemoveLast(xmlListPtr l, void *data)
Definition: list.c:378
XMLPUBFUN void *XMLCALL xmlListReverseSearch(xmlListPtr l, void *data)
Definition: list.c:252
XMLPUBFUN int XMLCALL xmlListCopy(xmlListPtr cur, const xmlListPtr old)
Definition: list.c:761
int(* xmlListDataCompare)(const void *data0, const void *data1)
Definition: list.h:42
XMLPUBFUN xmlLinkPtr XMLCALL xmlListEnd(xmlListPtr l)
Definition: list.c:478
XMLPUBFUN void XMLCALL xmlListPopBack(xmlListPtr l)
Definition: list.c:526
Definition: list.c:39
Definition: bug.cpp:8
Definition: tftpd.h:126
#define XMLPUBFUN
Definition: xmlexports.h:61