summaryrefslogtreecommitdiff
path: root/chromium/third_party/libxml/src/include/private/parser.h
blob: 1bf9ee35fe1217c81def1d66568dc420c3c2ca72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef XML_PARSER_H_PRIVATE__
#define XML_PARSER_H_PRIVATE__

#include <libxml/parser.h>
#include <libxml/xmlversion.h>

/**
 * XML_VCTXT_DTD_VALIDATED:
 *
 * Set after xmlValidateDtdFinal was called.
 */
#define XML_VCTXT_DTD_VALIDATED (1u << 0)
/**
 * XML_VCTXT_USE_PCTXT:
 *
 * Set if the validation context is part of a parser context.
 */
#define XML_VCTXT_USE_PCTXT (1u << 1)

void xmlErrMemory(xmlParserCtxtPtr ctxt, const char *extra);
void __xmlErrEncoding(xmlParserCtxtPtr ctxt, xmlParserErrors xmlerr,
                      const char *msg, const xmlChar *str1,
                      const xmlChar *str2) LIBXML_ATTR_FORMAT(3,0);

#endif /* XML_PARSER_H_PRIVATE__ */