ReactOS  0.4.14-dev-342-gdc047f9
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
17 extern "C" {
18 #endif
19 
20 typedef struct _xmlLink xmlLink;
22 
23 typedef struct _xmlList xmlList;
25 
42 typedef int (*xmlListDataCompare) (const void *data0, const void *data1);
52 typedef int (*xmlListWalker) (const void *data, void *user);
53 
54 /* Creation/Deletion */
56  xmlListCreate (xmlListDeallocator deallocator,
58 XMLPUBFUN void XMLCALL
60 
61 /* Basic Operators */
62 XMLPUBFUN void * XMLCALL
64  void *data);
65 XMLPUBFUN void * XMLCALL
67  void *data);
70  void *data) ;
73  void *data) ;
76  void *data);
79  void *data);
82  void *data);
83 XMLPUBFUN void XMLCALL
93 
94 XMLPUBFUN void XMLCALL
96 XMLPUBFUN void XMLCALL
100  void *data);
101 XMLPUBFUN int XMLCALL
103  void *data);
104 
105 /* Advanced Operators */
106 XMLPUBFUN void XMLCALL
108 XMLPUBFUN void XMLCALL
110 XMLPUBFUN void XMLCALL
112  xmlListWalker walker,
113  void *user);
114 XMLPUBFUN void XMLCALL
116  xmlListWalker walker,
117  void *user);
118 XMLPUBFUN void XMLCALL
120  xmlListPtr l2);
122  xmlListDup (const xmlListPtr old);
123 XMLPUBFUN int XMLCALL
124  xmlListCopy (xmlListPtr cur,
125  const xmlListPtr old);
126 /* Link operators */
127 XMLPUBFUN void * XMLCALL
129 
130 /* xmlListUnique() */
131 /* xmlListSwap */
132 
133 #ifdef __cplusplus
134 }
135 #endif
136 
137 #endif /* __XML_LINK_INCLUDE__ */
XMLPUBFUN int XMLCALL xmlListRemoveLast(xmlListPtr l, void *data)
Definition: list.c:378
Definition: bug.cpp:7
XMLPUBFUN int XMLCALL xmlListRemoveFirst(xmlListPtr l, void *data)
Definition: list.c:353
XMLPUBFUN xmlListPtr XMLCALL xmlListCreate(xmlListDeallocator deallocator, xmlListDataCompare compare)
Definition: list.c:188
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
Definition: typeof.h:49
XMLPUBFUN void *XMLCALL xmlListReverseSearch(xmlListPtr l, void *data)
Definition: list.c:252
int(* xmlListDataCompare)(const void *data0, const void *data1)
Definition: list.h:42
XMLPUBFUN void XMLCALL xmlListPopFront(xmlListPtr l)
Definition: list.c:513
int(* xmlListWalker)(const void *data, void *user)
Definition: list.h:52
XMLPUBFUN int XMLCALL xmlListAppend(xmlListPtr l, void *data)
Definition: list.c:305
#define XMLPUBFUN
Definition: xmlexports.h:30
XMLPUBFUN int XMLCALL xmlListCopy(xmlListPtr cur, const xmlListPtr old)
Definition: list.c:761
XMLPUBFUN int XMLCALL xmlListEmpty(xmlListPtr l)
Definition: list.c:446
XMLPUBFUN int XMLCALL xmlListPushFront(xmlListPtr l, void *data)
Definition: list.c:542
XMLPUBFUN xmlLinkPtr XMLCALL xmlListFront(xmlListPtr l)
Definition: list.c:462
XMLPUBFUN void XMLCALL xmlListWalk(xmlListPtr l, xmlListWalker walker, void *user)
Definition: list.c:676
XMLPUBFUN xmlLinkPtr XMLCALL xmlListEnd(xmlListPtr l)
Definition: list.c:478
XMLPUBFUN void XMLCALL xmlListClear(xmlListPtr l)
Definition: list.c:422
r l[0]
Definition: byte_order.h:167
xmlList * xmlListPtr
Definition: list.h:24
XMLPUBFUN xmlListPtr XMLCALL xmlListDup(const xmlListPtr old)
Definition: list.c:732
xmlLink * xmlLinkPtr
Definition: list.h:21
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
XMLPUBFUN void XMLCALL xmlListReverseWalk(xmlListPtr l, xmlListWalker walker, void *user)
Definition: list.c:697
XMLPUBFUN void XMLCALL xmlListSort(xmlListPtr l)
Definition: list.c:643
XMLPUBFUN void XMLCALL xmlListReverse(xmlListPtr l)
Definition: list.c:618
XMLPUBFUN void XMLCALL xmlListMerge(xmlListPtr l1, xmlListPtr l2)
Definition: list.c:717
XMLPUBFUN int XMLCALL xmlListRemoveAll(xmlListPtr l, void *data)
Definition: list.c:403
static const WCHAR data1[]
Definition: db.c:2967
Definition: list.c:38
#define XMLCALL
XMLPUBFUN void *XMLCALL xmlLinkGetData(xmlLinkPtr lk)
Definition: list.c:604
void(* xmlListDeallocator)(xmlLinkPtr lk)
Definition: list.h:32
XMLPUBFUN int XMLCALL xmlListInsert(xmlListPtr l, void *data)
Definition: list.c:273
XMLPUBFUN void XMLCALL xmlListPopBack(xmlListPtr l)
Definition: list.c:526
XMLPUBFUN int XMLCALL xmlListSize(xmlListPtr l)
Definition: list.c:494
XMLPUBFUN void XMLCALL xmlListDelete(xmlListPtr l)
Definition: list.c:333
XMLPUBFUN int XMLCALL xmlListPushBack(xmlListPtr l, void *data)
Definition: list.c:574
XMLPUBFUN void *XMLCALL xmlListSearch(xmlListPtr l, void *data)
Definition: list.c:231
void user(int argc, const char *argv[])
Definition: cmds.c:1350
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
Definition: typeof.h:31