ReactOS 0.4.16-dev-2207-geb15453
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 <libxml/xmlversion.h>
16#include <libxml/parser.h>
17
18#ifdef LIBXML_LEGACY_ENABLED
19
20#ifdef __cplusplus
21extern "C" {
22#endif
24XMLPUBFUN const xmlChar *
25 getPublicId (void *ctx);
27XMLPUBFUN const xmlChar *
28 getSystemId (void *ctx);
30XMLPUBFUN void
31 setDocumentLocator (void *ctx,
32 xmlSAXLocatorPtr loc);
33
35XMLPUBFUN int
36 getLineNumber (void *ctx);
38XMLPUBFUN int
39 getColumnNumber (void *ctx);
40
42XMLPUBFUN int
43 isStandalone (void *ctx);
45XMLPUBFUN int
46 hasInternalSubset (void *ctx);
48XMLPUBFUN int
49 hasExternalSubset (void *ctx);
50
52XMLPUBFUN void
53 internalSubset (void *ctx,
54 const xmlChar *name,
55 const xmlChar *ExternalID,
56 const xmlChar *SystemID);
58XMLPUBFUN void
59 externalSubset (void *ctx,
60 const xmlChar *name,
61 const xmlChar *ExternalID,
62 const xmlChar *SystemID);
64XMLPUBFUN xmlEntityPtr
65 getEntity (void *ctx,
66 const xmlChar *name);
68XMLPUBFUN xmlEntityPtr
69 getParameterEntity (void *ctx,
70 const xmlChar *name);
72XMLPUBFUN xmlParserInputPtr
73 resolveEntity (void *ctx,
74 const xmlChar *publicId,
75 const xmlChar *systemId);
76
78XMLPUBFUN void
79 entityDecl (void *ctx,
80 const xmlChar *name,
81 int type,
82 const xmlChar *publicId,
83 const xmlChar *systemId,
86XMLPUBFUN void
87 attributeDecl (void *ctx,
88 const xmlChar *elem,
89 const xmlChar *fullname,
90 int type,
91 int def,
92 const xmlChar *defaultValue,
93 xmlEnumerationPtr tree);
95XMLPUBFUN void
96 elementDecl (void *ctx,
97 const xmlChar *name,
98 int type,
99 xmlElementContentPtr content);
101XMLPUBFUN void
102 notationDecl (void *ctx,
103 const xmlChar *name,
104 const xmlChar *publicId,
105 const xmlChar *systemId);
107XMLPUBFUN void
108 unparsedEntityDecl (void *ctx,
109 const xmlChar *name,
110 const xmlChar *publicId,
111 const xmlChar *systemId,
112 const xmlChar *notationName);
113
115XMLPUBFUN void
116 startDocument (void *ctx);
118XMLPUBFUN void
119 endDocument (void *ctx);
121XMLPUBFUN void
122 attribute (void *ctx,
123 const xmlChar *fullname,
124 const xmlChar *value);
126XMLPUBFUN void
127 startElement (void *ctx,
128 const xmlChar *fullname,
129 const xmlChar **atts);
131XMLPUBFUN void
132 endElement (void *ctx,
133 const xmlChar *name);
135XMLPUBFUN void
136 reference (void *ctx,
137 const xmlChar *name);
139XMLPUBFUN void
140 characters (void *ctx,
141 const xmlChar *ch,
142 int len);
144XMLPUBFUN void
145 ignorableWhitespace (void *ctx,
146 const xmlChar *ch,
147 int len);
149XMLPUBFUN void
150 processingInstruction (void *ctx,
151 const xmlChar *target,
152 const xmlChar *data);
154XMLPUBFUN void
155 globalNamespace (void *ctx,
156 const xmlChar *href,
157 const xmlChar *prefix);
159XMLPUBFUN void
160 setNamespace (void *ctx,
161 const xmlChar *name);
163XMLPUBFUN xmlNsPtr
164 getNamespace (void *ctx);
166XMLPUBFUN int
167 checkNamespace (void *ctx,
168 xmlChar *nameSpace);
170XMLPUBFUN void
171 namespaceDecl (void *ctx,
172 const xmlChar *href,
173 const xmlChar *prefix);
175XMLPUBFUN void
176 comment (void *ctx,
177 const xmlChar *value);
179XMLPUBFUN void
180 cdataBlock (void *ctx,
181 const xmlChar *value,
182 int len);
183
184#ifdef LIBXML_SAX1_ENABLED
186XMLPUBFUN void
187 initxmlDefaultSAXHandler (xmlSAXHandlerV1 *hdlr,
188 int warning);
189#ifdef LIBXML_HTML_ENABLED
191XMLPUBFUN void
192 inithtmlDefaultSAXHandler (xmlSAXHandlerV1 *hdlr);
193#endif
194#endif /* LIBXML_SAX1_ENABLED */
195
196#ifdef __cplusplus
197}
198#endif
199
200#endif /* LIBXML_LEGACY_ENABLED */
201
202#endif /* __XML_SAX_H__ */
_In_ uint16_t _Out_ ULONG * atts
Definition: btrfs_drv.h:1107
content
Definition: atl_ax.c:994
unsigned char ch[4][2]
Definition: console.c:118
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
GLint reference
Definition: glext.h:11729
GLenum GLsizei len
Definition: glext.h:6722
#define comment(fmt, arg1)
Definition: rebar.c:847
const char * fullname
Definition: shader.c:1766
static size_t elem
Definition: string.c:71
#define warning(s)
Definition: debug.h:83
Definition: name.c:39
Definition: tools.h:99
Character const *const prefix
Definition: tempnam.cpp:195
Definition: pdh_main.c:96
#define XMLPUBFUN
Definition: xmlexports.h:30
unsigned char xmlChar
Definition: xmlstring.h:28
#define XML_DEPRECATED
Definition: xmlversion.h:475