ReactOS  0.4.15-dev-5455-g015cd25
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 
20 #ifdef LIBXML_LEGACY_ENABLED
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
27  getPublicId (void *ctx);
30  getSystemId (void *ctx);
32 XMLPUBFUN void XMLCALL
33  setDocumentLocator (void *ctx,
34  xmlSAXLocatorPtr loc);
35 
38  getLineNumber (void *ctx);
41  getColumnNumber (void *ctx);
42 
45  isStandalone (void *ctx);
48  hasInternalSubset (void *ctx);
51  hasExternalSubset (void *ctx);
52 
54 XMLPUBFUN void XMLCALL
55  internalSubset (void *ctx,
56  const xmlChar *name,
57  const xmlChar *ExternalID,
58  const xmlChar *SystemID);
60 XMLPUBFUN void XMLCALL
61  externalSubset (void *ctx,
62  const xmlChar *name,
63  const xmlChar *ExternalID,
64  const xmlChar *SystemID);
67  getEntity (void *ctx,
68  const xmlChar *name);
71  getParameterEntity (void *ctx,
72  const xmlChar *name);
75  resolveEntity (void *ctx,
76  const xmlChar *publicId,
77  const xmlChar *systemId);
78 
80 XMLPUBFUN void XMLCALL
81  entityDecl (void *ctx,
82  const xmlChar *name,
83  int type,
84  const xmlChar *publicId,
85  const xmlChar *systemId,
86  xmlChar *content);
88 XMLPUBFUN void XMLCALL
89  attributeDecl (void *ctx,
90  const xmlChar *elem,
91  const xmlChar *fullname,
92  int type,
93  int def,
94  const xmlChar *defaultValue,
97 XMLPUBFUN void XMLCALL
98  elementDecl (void *ctx,
99  const xmlChar *name,
100  int type,
103 XMLPUBFUN void XMLCALL
104  notationDecl (void *ctx,
105  const xmlChar *name,
106  const xmlChar *publicId,
107  const xmlChar *systemId);
109 XMLPUBFUN void XMLCALL
110  unparsedEntityDecl (void *ctx,
111  const xmlChar *name,
112  const xmlChar *publicId,
113  const xmlChar *systemId,
114  const xmlChar *notationName);
115 
117 XMLPUBFUN void XMLCALL
118  startDocument (void *ctx);
120 XMLPUBFUN void XMLCALL
121  endDocument (void *ctx);
123 XMLPUBFUN void XMLCALL
124  attribute (void *ctx,
125  const xmlChar *fullname,
126  const xmlChar *value);
128 XMLPUBFUN void XMLCALL
129  startElement (void *ctx,
130  const xmlChar *fullname,
131  const xmlChar **atts);
133 XMLPUBFUN void XMLCALL
134  endElement (void *ctx,
135  const xmlChar *name);
137 XMLPUBFUN void XMLCALL
138  reference (void *ctx,
139  const xmlChar *name);
141 XMLPUBFUN void XMLCALL
142  characters (void *ctx,
143  const xmlChar *ch,
144  int len);
146 XMLPUBFUN void XMLCALL
147  ignorableWhitespace (void *ctx,
148  const xmlChar *ch,
149  int len);
151 XMLPUBFUN void XMLCALL
152  processingInstruction (void *ctx,
153  const xmlChar *target,
154  const xmlChar *data);
156 XMLPUBFUN void XMLCALL
157  globalNamespace (void *ctx,
158  const xmlChar *href,
159  const xmlChar *prefix);
161 XMLPUBFUN void XMLCALL
162  setNamespace (void *ctx,
163  const xmlChar *name);
166  getNamespace (void *ctx);
168 XMLPUBFUN int XMLCALL
169  checkNamespace (void *ctx,
170  xmlChar *nameSpace);
172 XMLPUBFUN void XMLCALL
173  namespaceDecl (void *ctx,
174  const xmlChar *href,
175  const xmlChar *prefix);
177 XMLPUBFUN void XMLCALL
178  comment (void *ctx,
179  const xmlChar *value);
181 XMLPUBFUN void XMLCALL
182  cdataBlock (void *ctx,
183  const xmlChar *value,
184  int len);
185 
186 #ifdef LIBXML_SAX1_ENABLED
188 XMLPUBFUN void XMLCALL
189  initxmlDefaultSAXHandler (xmlSAXHandlerV1 *hdlr,
190  int warning);
191 #ifdef LIBXML_HTML_ENABLED
193 XMLPUBFUN void XMLCALL
194  inithtmlDefaultSAXHandler (xmlSAXHandlerV1 *hdlr);
195 #endif
196 #endif /* LIBXML_SAX1_ENABLED */
197 
198 #ifdef __cplusplus
199 }
200 #endif
201 
202 #endif /* LIBXML_LEGACY_ENABLED */
203 
204 #endif /* __XML_SAX_H__ */
Definition: pdh_main.c:93
#define XML_DEPRECATED
Definition: xmlversion.h:494
Definition: tree.h:389
#define XMLPUBFUN
Definition: xmlexports.h:61
#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
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
#define warning(s)
Definition: debug.h:83
_In_ uint16_t _Out_ ULONG * atts
Definition: btrfs_drv.h:1107