ReactOS  0.4.15-dev-994-ga9f6032
SAX.h
Go to the documentation of this file.
1 /*
2  * Summary: Old SAX version 1 handler, deprecated
3  * Description: DEPRECATED set of SAX version 1 interfaces used to
4  * build the DOM tree.
5  *
6  * Copy: See Copyright for the status of this software.
7  *
8  * Author: Daniel Veillard
9  */
10 
11 
12 #ifndef __XML_SAX_H__
13 #define __XML_SAX_H__
14 
15 #include <stdio.h>
16 #include <stdlib.h>
17 #include <libxml/xmlversion.h>
18 #include <libxml/parser.h>
19 #include <libxml/xlink.h>
20 
21 #ifdef LIBXML_LEGACY_ENABLED
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
27  getPublicId (void *ctx);
29  getSystemId (void *ctx);
30 XMLPUBFUN void XMLCALL
31  setDocumentLocator (void *ctx,
32  xmlSAXLocatorPtr loc);
33 
35  getLineNumber (void *ctx);
37  getColumnNumber (void *ctx);
38 
40  isStandalone (void *ctx);
42  hasInternalSubset (void *ctx);
44  hasExternalSubset (void *ctx);
45 
46 XMLPUBFUN void XMLCALL
47  internalSubset (void *ctx,
48  const xmlChar *name,
49  const xmlChar *ExternalID,
50  const xmlChar *SystemID);
51 XMLPUBFUN void XMLCALL
52  externalSubset (void *ctx,
53  const xmlChar *name,
54  const xmlChar *ExternalID,
55  const xmlChar *SystemID);
57  getEntity (void *ctx,
58  const xmlChar *name);
60  getParameterEntity (void *ctx,
61  const xmlChar *name);
63  resolveEntity (void *ctx,
64  const xmlChar *publicId,
65  const xmlChar *systemId);
66 
67 XMLPUBFUN void XMLCALL
68  entityDecl (void *ctx,
69  const xmlChar *name,
70  int type,
71  const xmlChar *publicId,
72  const xmlChar *systemId,
73  xmlChar *content);
74 XMLPUBFUN void XMLCALL
75  attributeDecl (void *ctx,
76  const xmlChar *elem,
77  const xmlChar *fullname,
78  int type,
79  int def,
80  const xmlChar *defaultValue,
82 XMLPUBFUN void XMLCALL
83  elementDecl (void *ctx,
84  const xmlChar *name,
85  int type,
87 XMLPUBFUN void XMLCALL
88  notationDecl (void *ctx,
89  const xmlChar *name,
90  const xmlChar *publicId,
91  const xmlChar *systemId);
92 XMLPUBFUN void XMLCALL
93  unparsedEntityDecl (void *ctx,
94  const xmlChar *name,
95  const xmlChar *publicId,
96  const xmlChar *systemId,
97  const xmlChar *notationName);
98 
99 XMLPUBFUN void XMLCALL
100  startDocument (void *ctx);
101 XMLPUBFUN void XMLCALL
102  endDocument (void *ctx);
103 XMLPUBFUN void XMLCALL
104  attribute (void *ctx,
105  const xmlChar *fullname,
106  const xmlChar *value);
107 XMLPUBFUN void XMLCALL
108  startElement (void *ctx,
109  const xmlChar *fullname,
110  const xmlChar **atts);
111 XMLPUBFUN void XMLCALL
112  endElement (void *ctx,
113  const xmlChar *name);
114 XMLPUBFUN void XMLCALL
115  reference (void *ctx,
116  const xmlChar *name);
117 XMLPUBFUN void XMLCALL
118  characters (void *ctx,
119  const xmlChar *ch,
120  int len);
121 XMLPUBFUN void XMLCALL
122  ignorableWhitespace (void *ctx,
123  const xmlChar *ch,
124  int len);
125 XMLPUBFUN void XMLCALL
126  processingInstruction (void *ctx,
127  const xmlChar *target,
128  const xmlChar *data);
129 XMLPUBFUN void XMLCALL
130  globalNamespace (void *ctx,
131  const xmlChar *href,
132  const xmlChar *prefix);
133 XMLPUBFUN void XMLCALL
134  setNamespace (void *ctx,
135  const xmlChar *name);
137  getNamespace (void *ctx);
138 XMLPUBFUN int XMLCALL
139  checkNamespace (void *ctx,
140  xmlChar *nameSpace);
141 XMLPUBFUN void XMLCALL
142  namespaceDecl (void *ctx,
143  const xmlChar *href,
144  const xmlChar *prefix);
145 XMLPUBFUN void XMLCALL
146  comment (void *ctx,
147  const xmlChar *value);
148 XMLPUBFUN void XMLCALL
149  cdataBlock (void *ctx,
150  const xmlChar *value,
151  int len);
152 
153 #ifdef LIBXML_SAX1_ENABLED
154 XMLPUBFUN void XMLCALL
155  initxmlDefaultSAXHandler (xmlSAXHandlerV1 *hdlr,
156  int warning);
157 #ifdef LIBXML_HTML_ENABLED
158 XMLPUBFUN void XMLCALL
159  inithtmlDefaultSAXHandler (xmlSAXHandlerV1 *hdlr);
160 #endif
161 #ifdef LIBXML_DOCB_ENABLED
162 XMLPUBFUN void XMLCALL
163  initdocbDefaultSAXHandler (xmlSAXHandlerV1 *hdlr);
164 #endif
165 #endif /* LIBXML_SAX1_ENABLED */
166 
167 #ifdef __cplusplus
168 }
169 #endif
170 
171 #endif /* LIBXML_LEGACY_ENABLED */
172 
173 #endif /* __XML_SAX_H__ */
Definition: tree.h:389
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
#define XMLPUBFUN
Definition: xmlexports.h:30
#define comment(fmt, arg1)
Definition: rebar.c:820
static size_t elem
Definition: string.c:68
content
Definition: atl_ax.c:993
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
const char * fullname
Definition: shader.c:1766
GLint reference
Definition: glext.h:11729
unsigned char xmlChar
Definition: xmlstring.h:28
GLenum GLsizei len
Definition: glext.h:6722
#define XMLCALL
Definition: name.c:38
GLenum target
Definition: glext.h:7315
#define warning(s)
Definition: debug.h:83
_In_ uint16_t _Out_ ULONG * atts
Definition: btrfs_drv.h:1109