ReactOS 0.4.15-dev-6068-g8061a6f
SAX2.h
Go to the documentation of this file.
1/*
2 * Summary: SAX2 parser interface used to build the DOM tree
3 * Description: those are the default SAX2 interfaces used by
4 * the library when building DOM tree.
5 *
6 * Copy: See Copyright for the status of this software.
7 *
8 * Author: Daniel Veillard
9 */
10
11
12#ifndef __XML_SAX2_H__
13#define __XML_SAX2_H__
14
15#include <stdio.h>
16#include <stdlib.h>
17#include <libxml/xmlversion.h>
18#include <libxml/parser.h>
19
20#ifdef __cplusplus
21extern "C" {
22#endif
26 xmlSAX2GetSystemId (void *ctx);
30
35
42
45 const xmlChar *name,
46 const xmlChar *ExternalID,
47 const xmlChar *SystemID);
50 const xmlChar *name,
51 const xmlChar *ExternalID,
52 const xmlChar *SystemID);
54 xmlSAX2GetEntity (void *ctx,
55 const xmlChar *name);
58 const xmlChar *name);
61 const xmlChar *publicId,
62 const xmlChar *systemId);
63
66 const xmlChar *name,
67 int type,
68 const xmlChar *publicId,
69 const xmlChar *systemId,
73 const xmlChar *elem,
74 const xmlChar *fullname,
75 int type,
76 int def,
77 const xmlChar *defaultValue,
81 const xmlChar *name,
82 int type,
86 const xmlChar *name,
87 const xmlChar *publicId,
88 const xmlChar *systemId);
91 const xmlChar *name,
92 const xmlChar *publicId,
93 const xmlChar *systemId,
94 const xmlChar *notationName);
95
99 xmlSAX2EndDocument (void *ctx);
100#if defined(LIBXML_SAX1_ENABLED) || defined(LIBXML_HTML_ENABLED) || \
101 defined(LIBXML_WRITER_ENABLED) || defined(LIBXML_LEGACY_ENABLED)
103 xmlSAX2StartElement (void *ctx,
104 const xmlChar *fullname,
105 const xmlChar **atts);
107 xmlSAX2EndElement (void *ctx,
108 const xmlChar *name);
109#endif /* LIBXML_SAX1_ENABLED or LIBXML_HTML_ENABLED or LIBXML_LEGACY_ENABLED */
112 const xmlChar *localname,
113 const xmlChar *prefix,
114 const xmlChar *URI,
115 int nb_namespaces,
116 const xmlChar **namespaces,
117 int nb_attributes,
118 int nb_defaulted,
119 const xmlChar **attributes);
122 const xmlChar *localname,
123 const xmlChar *prefix,
124 const xmlChar *URI);
126 xmlSAX2Reference (void *ctx,
127 const xmlChar *name);
129 xmlSAX2Characters (void *ctx,
130 const xmlChar *ch,
131 int len);
134 const xmlChar *ch,
135 int len);
138 const xmlChar *target,
139 const xmlChar *data);
141 xmlSAX2Comment (void *ctx,
142 const xmlChar *value);
144 xmlSAX2CDataBlock (void *ctx,
145 const xmlChar *value,
146 int len);
147
148#ifdef LIBXML_SAX1_ENABLED
150 xmlSAXDefaultVersion (int version);
151#endif /* LIBXML_SAX1_ENABLED */
152
155 int version);
158 int warning);
159#ifdef LIBXML_HTML_ENABLED
161 xmlSAX2InitHtmlDefaultSAXHandler(xmlSAXHandler *hdlr);
164 htmlDefaultSAXHandlerInit (void);
165#endif
169#ifdef __cplusplus
170}
171#endif
172#endif /* __XML_SAX2_H__ */
XMLPUBFUN void XMLCALL xmlSAX2Characters(void *ctx, const xmlChar *ch, int len)
Definition: SAX2.c:2657
XMLPUBFUN void XMLCALL xmlSAX2EndDocument(void *ctx)
Definition: SAX2.c:998
XMLPUBFUN int XMLCALL xmlSAX2HasExternalSubset(void *ctx)
Definition: SAX2.c:307
XMLPUBFUN int XMLCALL xmlSAX2GetColumnNumber(void *ctx)
Definition: SAX2.c:259
XMLPUBFUN void XMLCALL xmlSAX2IgnorableWhitespace(void *ctx, const xmlChar *ch, int len)
XMLPUBFUN void XMLCALL xmlSAX2Comment(void *ctx, const xmlChar *value)
Definition: SAX2.c:2754
XML_DEPRECATED XMLPUBFUN void XMLCALL xmlDefaultSAXHandlerInit(void)
Definition: SAX2.c:2934
XMLPUBFUN int XMLCALL xmlSAXVersion(xmlSAXHandler *hdlr, int version)
Definition: SAX2.c:2858
XMLPUBFUN void XMLCALL xmlSAX2SetDocumentLocator(void *ctx, xmlSAXLocatorPtr loc)
XMLPUBFUN void XMLCALL xmlSAX2EndElementNs(void *ctx, const xmlChar *localname, const xmlChar *prefix, const xmlChar *URI)
XMLPUBFUN void XMLCALL xmlSAX2EntityDecl(void *ctx, const xmlChar *name, int type, const xmlChar *publicId, const xmlChar *systemId, xmlChar *content)
Definition: SAX2.c:604
XMLPUBFUN const xmlChar *XMLCALL xmlSAX2GetSystemId(void *ctx)
Definition: SAX2.c:227
XMLPUBFUN void XMLCALL xmlSAX2UnparsedEntityDecl(void *ctx, const xmlChar *name, const xmlChar *publicId, const xmlChar *systemId, const xmlChar *notationName)
Definition: SAX2.c:849
XMLPUBFUN xmlParserInputPtr XMLCALL xmlSAX2ResolveEntity(void *ctx, const xmlChar *publicId, const xmlChar *systemId)
Definition: SAX2.c:489
XMLPUBFUN void XMLCALL xmlSAX2NotationDecl(void *ctx, const xmlChar *name, const xmlChar *publicId, const xmlChar *systemId)
Definition: SAX2.c:795
XMLPUBFUN const xmlChar *XMLCALL xmlSAX2GetPublicId(void *ctx)
XMLPUBFUN void XMLCALL xmlSAX2ProcessingInstruction(void *ctx, const xmlChar *target, const xmlChar *data)
Definition: SAX2.c:2690
XMLPUBFUN void XMLCALL xmlSAX2AttributeDecl(void *ctx, const xmlChar *elem, const xmlChar *fullname, int type, int def, const xmlChar *defaultValue, xmlEnumerationPtr tree)
Definition: SAX2.c:674
XMLPUBFUN void XMLCALL xmlSAX2InternalSubset(void *ctx, const xmlChar *name, const xmlChar *ExternalID, const xmlChar *SystemID)
Definition: SAX2.c:324
XMLPUBFUN xmlEntityPtr XMLCALL xmlSAX2GetParameterEntity(void *ctx, const xmlChar *name)
Definition: SAX2.c:576
XMLPUBFUN void XMLCALL xmlSAX2InitDefaultSAXHandler(xmlSAXHandler *hdlr, int warning)
Definition: SAX2.c:2913
XMLPUBFUN xmlEntityPtr XMLCALL xmlSAX2GetEntity(void *ctx, const xmlChar *name)
Definition: SAX2.c:526
XMLPUBFUN void XMLCALL xmlSAX2StartDocument(void *ctx)
Definition: SAX2.c:933
XMLPUBFUN void XMLCALL xmlSAX2ExternalSubset(void *ctx, const xmlChar *name, const xmlChar *ExternalID, const xmlChar *SystemID)
Definition: SAX2.c:362
XMLPUBFUN int XMLCALL xmlSAX2IsStandalone(void *ctx)
Definition: SAX2.c:275
XMLPUBFUN void XMLCALL xmlSAX2ElementDecl(void *ctx, const xmlChar *name, int type, xmlElementContentPtr content)
Definition: SAX2.c:746
XMLPUBFUN void XMLCALL xmlSAX2Reference(void *ctx, const xmlChar *name)
Definition: SAX2.c:2488
XMLPUBFUN void XMLCALL xmlSAX2StartElementNs(void *ctx, const xmlChar *localname, const xmlChar *prefix, const xmlChar *URI, int nb_namespaces, const xmlChar **namespaces, int nb_attributes, int nb_defaulted, const xmlChar **attributes)
Definition: SAX2.c:2195
XMLPUBFUN int XMLCALL xmlSAX2HasInternalSubset(void *ctx)
Definition: SAX2.c:291
XMLPUBFUN void XMLCALL xmlSAX2CDataBlock(void *ctx, const xmlChar *value, int len)
Definition: SAX2.c:2816
XMLPUBFUN int XMLCALL xmlSAX2GetLineNumber(void *ctx)
Definition: SAX2.c:243
_In_ uint16_t _Out_ ULONG * atts
Definition: btrfs_drv.h:1107
content
Definition: atl_ax.c:994
static const WCHAR version[]
Definition: asmname.c:66
#define XMLCALL
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
Definition: gl.h:1950
GLenum GLsizei len
Definition: glext.h:6722
GLenum target
Definition: glext.h:7315
const char * fullname
Definition: shader.c:1766
static size_t elem
Definition: string.c:68
#define warning(s)
Definition: debug.h:83
Definition: name.c:39
Definition: pdh_main.c:94
#define XMLPUBFUN
Definition: xmlexports.h:61
unsigned char xmlChar
Definition: xmlstring.h:28
#define XML_DEPRECATED
Definition: xmlversion.h:494