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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/**
* @file
*
* Global state API for libxml-rs
*/
#ifndef __XML_GLOBALS_H__
#define __XML_GLOBALS_H__
#include <libxml/xmlversion.h>
#include <libxml/xmlerror.h>
#include <libxml/parser.h>
#ifdef __cplusplus
extern "C" {
#endif
XMLPUBFUN void xmlInitGlobals(void);
XMLPUBFUN void xmlCleanupGlobals(void);
/* Exported data globals (upstream globals.h XMLPUBVAR declarations). */
XMLPUBVAR int xmlDoValidityCheckingDefaultValue;
XMLPUBVAR int xmlGetWarningsDefaultValue;
XMLPUBVAR int xmlLoadExtDtdDefaultValue;
XMLPUBVAR int xmlPedanticParserDefaultValue;
XMLPUBVAR int xmlKeepBlanksDefaultValue;
XMLPUBVAR int xmlLineNumbersDefaultValue;
XMLPUBVAR int xmlSubstituteEntitiesDefaultValue;
XMLPUBVAR int xmlParserDebugEntities;
XMLPUBVAR int xmlIndentTreeOutput;
XMLPUBVAR int xmlTreeIndentNumber;
XMLPUBVAR const char *xmlTreeIndentString;
XMLPUBVAR const char *xmlParserVersion;
XMLPUBVAR int xmlSaveNoEmptyTags;
XMLPUBVAR xmlGenericErrorFunc xmlGenericError;
XMLPUBVAR void *xmlGenericErrorContext;
XMLPUBVAR xmlStructuredErrorFunc xmlStructuredError;
XMLPUBVAR void *xmlStructuredErrorContext;
XMLPUBVAR xmlBufferAllocationScheme xmlBufferAllocScheme;
XMLPUBVAR int xmlDefaultBufferSize;
XMLPUBVAR int xmlParserMaxDepth;
#ifdef __cplusplus
}
#endif
#endif /* __XML_GLOBALS_H__ */