ReactOS 0.4.16-dev-2132-g3885311
parser.h
Go to the documentation of this file.
1#ifndef XML_PARSER_H_PRIVATE__
2#define XML_PARSER_H_PRIVATE__
3
4#include <libxml/parser.h>
5#include <libxml/xmlversion.h>
6
12#define XML_VCTXT_DTD_VALIDATED (1u << 0)
18#define XML_VCTXT_USE_PCTXT (1u << 1)
19
20#define XML_INPUT_HAS_ENCODING (1u << 0)
21#define XML_INPUT_AUTO_ENCODING (7u << 1)
22#define XML_INPUT_AUTO_UTF8 (1u << 1)
23#define XML_INPUT_AUTO_UTF16LE (2u << 1)
24#define XML_INPUT_AUTO_UTF16BE (3u << 1)
25#define XML_INPUT_AUTO_OTHER (4u << 1)
26#define XML_INPUT_USES_ENC_DECL (1u << 4)
27#define XML_INPUT_ENCODING_ERROR (1u << 5)
28
29XML_HIDDEN void
30xmlErrMemory(xmlParserCtxtPtr ctxt, const char *extra);
31XML_HIDDEN void
32xmlFatalErr(xmlParserCtxtPtr ctxt, xmlParserErrors error, const char *info);
34xmlWarningMsg(xmlParserCtxtPtr ctxt, xmlParserErrors error,
36XML_HIDDEN void
37__xmlErrEncoding(xmlParserCtxtPtr ctxt, xmlParserErrors xmlerr,
38 const char *msg, const xmlChar *str1,
40XML_HIDDEN void
41xmlHaltParser(xmlParserCtxtPtr ctxt);
42XML_HIDDEN int
43xmlParserGrow(xmlParserCtxtPtr ctxt);
44XML_HIDDEN void
45xmlParserShrink(xmlParserCtxtPtr ctxt);
46
47XML_HIDDEN void
48xmlDetectEncoding(xmlParserCtxtPtr ctxt);
49XML_HIDDEN void
50xmlSetDeclaredEncoding(xmlParserCtxtPtr ctxt, xmlChar *encoding);
52xmlGetActualEncoding(xmlParserCtxtPtr ctxt);
53
56XML_HIDDEN void
58/*
59 * These functions allow SAX handlers to attach extra data to namespaces
60 * efficiently and should be made public.
61 */
62XML_HIDDEN int
63xmlParserNsUpdateSax(xmlParserCtxtPtr ctxt, const xmlChar *prefix,
64 void *saxData);
65XML_HIDDEN void *
66xmlParserNsLookupSax(xmlParserCtxtPtr ctxt, const xmlChar *prefix);
67
68#endif /* XML_PARSER_H_PRIVATE__ */
#define msg(x)
Definition: auth_time.c:54
@ extra
Definition: id3.c:95
#define XML_HIDDEN
Definition: libxml.h:52
XML_HIDDEN int xmlParserGrow(xmlParserCtxtPtr ctxt)
XML_HIDDEN void xmlDetectEncoding(xmlParserCtxtPtr ctxt)
XML_HIDDEN void xmlSetDeclaredEncoding(xmlParserCtxtPtr ctxt, xmlChar *encoding)
XML_HIDDEN void xmlParserErrors const char const xmlChar const xmlChar * str2
Definition: parser.h:35
XML_HIDDEN void xmlErrMemory(xmlParserCtxtPtr ctxt, const char *extra)
XML_HIDDEN void xmlParserNsFree(xmlParserNsData *nsdb)
Definition: parser.c:1431
XML_HIDDEN const xmlChar * xmlGetActualEncoding(xmlParserCtxtPtr ctxt)
XML_HIDDEN int xmlParserNsUpdateSax(xmlParserCtxtPtr ctxt, const xmlChar *prefix, void *saxData)
Definition: parser.c:1601
XML_HIDDEN void xmlFatalErr(xmlParserCtxtPtr ctxt, xmlParserErrors error, const char *info)
XML_HIDDEN void __xmlErrEncoding(xmlParserCtxtPtr ctxt, xmlParserErrors xmlerr, const char *msg, const xmlChar *str1, const xmlChar *str2) LIBXML_ATTR_FORMAT(3
XML_HIDDEN void xmlParserErrors error
Definition: parser.h:34
XML_HIDDEN void * xmlParserNsLookupSax(xmlParserCtxtPtr ctxt, const xmlChar *prefix)
Definition: parser.c:1569
XML_HIDDEN xmlParserNsData * xmlParserNsCreate(void)
Definition: parser.c:1413
XML_HIDDEN void xmlParserShrink(xmlParserCtxtPtr ctxt)
XML_HIDDEN void xmlParserErrors const char const xmlChar * str1
Definition: parser.h:35
XML_HIDDEN void XML_HIDDEN void xmlHaltParser(xmlParserCtxtPtr ctxt)
Character const *const prefix
Definition: tempnam.cpp:195
xmlParserErrors
Definition: xmlerror.h:99
unsigned char xmlChar
Definition: xmlstring.h:28
#define LIBXML_ATTR_FORMAT(fmt, args)
Definition: xmlversion.h:472
#define const
Definition: zconf.h:233