nokogiri 1.11.0.rc3-x86-linux → 1.11.3-x86-linux
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of nokogiri might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Gemfile +3 -0
- data/LICENSE-DEPENDENCIES.md +1015 -947
- data/LICENSE.md +1 -1
- data/README.md +168 -91
- data/ext/nokogiri/depend +37 -358
- data/ext/nokogiri/extconf.rb +581 -374
- data/ext/nokogiri/html_document.c +78 -82
- data/ext/nokogiri/html_element_description.c +84 -71
- data/ext/nokogiri/html_entity_lookup.c +21 -16
- data/ext/nokogiri/html_sax_parser_context.c +69 -66
- data/ext/nokogiri/html_sax_push_parser.c +42 -34
- data/ext/nokogiri/include/libexslt/exslt.h +102 -0
- data/ext/nokogiri/include/libexslt/exsltconfig.h +70 -0
- data/ext/nokogiri/include/libexslt/exsltexports.h +140 -0
- data/ext/nokogiri/include/libxml2/libxml/DOCBparser.h +96 -0
- data/ext/nokogiri/include/libxml2/libxml/HTMLparser.h +306 -0
- data/ext/nokogiri/include/libxml2/libxml/HTMLtree.h +147 -0
- data/ext/nokogiri/include/libxml2/libxml/SAX.h +173 -0
- data/ext/nokogiri/include/libxml2/libxml/SAX2.h +178 -0
- data/ext/nokogiri/include/libxml2/libxml/c14n.h +126 -0
- data/ext/nokogiri/include/libxml2/libxml/catalog.h +182 -0
- data/ext/nokogiri/include/libxml2/libxml/chvalid.h +230 -0
- data/ext/nokogiri/include/libxml2/libxml/debugXML.h +217 -0
- data/ext/nokogiri/include/libxml2/libxml/dict.h +79 -0
- data/ext/nokogiri/include/libxml2/libxml/encoding.h +245 -0
- data/ext/nokogiri/include/libxml2/libxml/entities.h +151 -0
- data/ext/nokogiri/include/libxml2/libxml/globals.h +508 -0
- data/ext/nokogiri/include/libxml2/libxml/hash.h +236 -0
- data/ext/nokogiri/include/libxml2/libxml/list.h +137 -0
- data/ext/nokogiri/include/libxml2/libxml/nanoftp.h +163 -0
- data/ext/nokogiri/include/libxml2/libxml/nanohttp.h +81 -0
- data/ext/nokogiri/include/libxml2/libxml/parser.h +1241 -0
- data/ext/nokogiri/include/libxml2/libxml/parserInternals.h +644 -0
- data/ext/nokogiri/include/libxml2/libxml/pattern.h +100 -0
- data/ext/nokogiri/include/libxml2/libxml/relaxng.h +217 -0
- data/ext/nokogiri/include/libxml2/libxml/schemasInternals.h +958 -0
- data/ext/nokogiri/include/libxml2/libxml/schematron.h +142 -0
- data/ext/nokogiri/include/libxml2/libxml/threads.h +89 -0
- data/ext/nokogiri/include/libxml2/libxml/tree.h +1311 -0
- data/ext/nokogiri/include/libxml2/libxml/uri.h +94 -0
- data/ext/nokogiri/include/libxml2/libxml/valid.h +458 -0
- data/ext/nokogiri/include/libxml2/libxml/xinclude.h +129 -0
- data/ext/nokogiri/include/libxml2/libxml/xlink.h +189 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlIO.h +366 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlautomata.h +146 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlerror.h +945 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlexports.h +153 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlmemory.h +224 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlmodule.h +57 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlreader.h +428 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlregexp.h +222 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlsave.h +88 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlschemas.h +246 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlschemastypes.h +151 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlstring.h +140 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlunicode.h +202 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlversion.h +485 -0
- data/ext/nokogiri/include/libxml2/libxml/xmlwriter.h +488 -0
- data/ext/nokogiri/include/libxml2/libxml/xpath.h +566 -0
- data/ext/nokogiri/include/libxml2/libxml/xpathInternals.h +632 -0
- data/ext/nokogiri/include/libxml2/libxml/xpointer.h +114 -0
- data/ext/nokogiri/include/libxslt/attributes.h +38 -0
- data/ext/nokogiri/include/libxslt/documents.h +93 -0
- data/ext/nokogiri/include/libxslt/extensions.h +262 -0
- data/ext/nokogiri/include/libxslt/extra.h +72 -0
- data/ext/nokogiri/include/libxslt/functions.h +78 -0
- data/ext/nokogiri/include/libxslt/imports.h +75 -0
- data/ext/nokogiri/include/libxslt/keys.h +53 -0
- data/ext/nokogiri/include/libxslt/namespaces.h +68 -0
- data/ext/nokogiri/include/libxslt/numbersInternals.h +73 -0
- data/ext/nokogiri/include/libxslt/pattern.h +84 -0
- data/ext/nokogiri/include/libxslt/preproc.h +43 -0
- data/ext/nokogiri/include/libxslt/security.h +104 -0
- data/ext/nokogiri/include/libxslt/templates.h +77 -0
- data/ext/nokogiri/include/libxslt/transform.h +207 -0
- data/ext/nokogiri/include/libxslt/variables.h +118 -0
- data/ext/nokogiri/include/libxslt/xslt.h +110 -0
- data/ext/nokogiri/include/libxslt/xsltInternals.h +1978 -0
- data/ext/nokogiri/include/libxslt/xsltconfig.h +180 -0
- data/ext/nokogiri/include/libxslt/xsltexports.h +142 -0
- data/ext/nokogiri/include/libxslt/xsltlocale.h +76 -0
- data/ext/nokogiri/include/libxslt/xsltutils.h +313 -0
- data/ext/nokogiri/libxml2_backwards_compat.c +121 -0
- data/ext/nokogiri/nokogiri.c +192 -93
- data/ext/nokogiri/nokogiri.h +177 -98
- data/ext/nokogiri/test_global_handlers.c +40 -0
- data/ext/nokogiri/xml_attr.c +15 -15
- data/ext/nokogiri/xml_attribute_decl.c +18 -18
- data/ext/nokogiri/xml_cdata.c +13 -18
- data/ext/nokogiri/xml_comment.c +19 -26
- data/ext/nokogiri/xml_document.c +246 -188
- data/ext/nokogiri/xml_document_fragment.c +13 -15
- data/ext/nokogiri/xml_dtd.c +54 -48
- data/ext/nokogiri/xml_element_content.c +30 -27
- data/ext/nokogiri/xml_element_decl.c +22 -22
- data/ext/nokogiri/xml_encoding_handler.c +17 -11
- data/ext/nokogiri/xml_entity_decl.c +32 -30
- data/ext/nokogiri/xml_entity_reference.c +16 -18
- data/ext/nokogiri/xml_namespace.c +56 -49
- data/ext/nokogiri/xml_node.c +371 -320
- data/ext/nokogiri/xml_node_set.c +168 -156
- data/ext/nokogiri/xml_processing_instruction.c +17 -19
- data/ext/nokogiri/xml_reader.c +191 -157
- data/ext/nokogiri/xml_relax_ng.c +52 -28
- data/ext/nokogiri/xml_sax_parser.c +118 -118
- data/ext/nokogiri/xml_sax_parser_context.c +103 -86
- data/ext/nokogiri/xml_sax_push_parser.c +36 -27
- data/ext/nokogiri/xml_schema.c +95 -47
- data/ext/nokogiri/xml_syntax_error.c +42 -21
- data/ext/nokogiri/xml_text.c +13 -17
- data/ext/nokogiri/xml_xpath_context.c +206 -123
- data/ext/nokogiri/xslt_stylesheet.c +158 -161
- data/lib/nokogiri.rb +3 -7
- data/lib/nokogiri/2.5/nokogiri.so +0 -0
- data/lib/nokogiri/2.6/nokogiri.so +0 -0
- data/lib/nokogiri/2.7/nokogiri.so +0 -0
- data/lib/nokogiri/3.0/nokogiri.so +0 -0
- data/lib/nokogiri/css/parser.rb +3 -3
- data/lib/nokogiri/css/parser.y +2 -2
- data/lib/nokogiri/css/xpath_visitor.rb +70 -42
- data/lib/nokogiri/extension.rb +26 -0
- data/lib/nokogiri/html/document.rb +12 -26
- data/lib/nokogiri/html/document_fragment.rb +15 -15
- data/lib/nokogiri/version.rb +2 -149
- data/lib/nokogiri/version/constant.rb +5 -0
- data/lib/nokogiri/version/info.rb +205 -0
- data/lib/nokogiri/xml/document.rb +91 -35
- data/lib/nokogiri/xml/document_fragment.rb +4 -6
- data/lib/nokogiri/xml/node.rb +89 -69
- data/lib/nokogiri/xml/parse_options.rb +6 -0
- data/lib/nokogiri/xml/reader.rb +2 -9
- data/lib/nokogiri/xml/relax_ng.rb +6 -2
- data/lib/nokogiri/xml/schema.rb +12 -4
- data/lib/nokogiri/xml/searchable.rb +3 -1
- data/lib/nokogiri/xml/xpath.rb +1 -3
- data/lib/nokogiri/xml/xpath/syntax_error.rb +1 -1
- metadata +150 -171
- data/ext/nokogiri/html_document.h +0 -10
- data/ext/nokogiri/html_element_description.h +0 -10
- data/ext/nokogiri/html_entity_lookup.h +0 -8
- data/ext/nokogiri/html_sax_parser_context.h +0 -11
- data/ext/nokogiri/html_sax_push_parser.h +0 -9
- data/ext/nokogiri/xml_attr.h +0 -9
- data/ext/nokogiri/xml_attribute_decl.h +0 -9
- data/ext/nokogiri/xml_cdata.h +0 -9
- data/ext/nokogiri/xml_comment.h +0 -9
- data/ext/nokogiri/xml_document.h +0 -23
- data/ext/nokogiri/xml_document_fragment.h +0 -10
- data/ext/nokogiri/xml_dtd.h +0 -10
- data/ext/nokogiri/xml_element_content.h +0 -10
- data/ext/nokogiri/xml_element_decl.h +0 -9
- data/ext/nokogiri/xml_encoding_handler.h +0 -8
- data/ext/nokogiri/xml_entity_decl.h +0 -10
- data/ext/nokogiri/xml_entity_reference.h +0 -9
- data/ext/nokogiri/xml_io.c +0 -63
- data/ext/nokogiri/xml_io.h +0 -11
- data/ext/nokogiri/xml_libxml2_hacks.c +0 -112
- data/ext/nokogiri/xml_libxml2_hacks.h +0 -12
- data/ext/nokogiri/xml_namespace.h +0 -14
- data/ext/nokogiri/xml_node.h +0 -13
- data/ext/nokogiri/xml_node_set.h +0 -12
- data/ext/nokogiri/xml_processing_instruction.h +0 -9
- data/ext/nokogiri/xml_reader.h +0 -10
- data/ext/nokogiri/xml_relax_ng.h +0 -9
- data/ext/nokogiri/xml_sax_parser.h +0 -39
- data/ext/nokogiri/xml_sax_parser_context.h +0 -10
- data/ext/nokogiri/xml_sax_push_parser.h +0 -9
- data/ext/nokogiri/xml_schema.h +0 -9
- data/ext/nokogiri/xml_syntax_error.h +0 -13
- data/ext/nokogiri/xml_text.h +0 -9
- data/ext/nokogiri/xml_xpath_context.h +0 -10
- data/ext/nokogiri/xslt_stylesheet.h +0 -14
- data/lib/nokogiri/2.4/nokogiri.so +0 -0
@@ -0,0 +1,151 @@
|
|
1
|
+
/*
|
2
|
+
* Summary: interface for the XML entities handling
|
3
|
+
* Description: this module provides some of the entity API needed
|
4
|
+
* for the parser and applications.
|
5
|
+
*
|
6
|
+
* Copy: See Copyright for the status of this software.
|
7
|
+
*
|
8
|
+
* Author: Daniel Veillard
|
9
|
+
*/
|
10
|
+
|
11
|
+
#ifndef __XML_ENTITIES_H__
|
12
|
+
#define __XML_ENTITIES_H__
|
13
|
+
|
14
|
+
#include <libxml/xmlversion.h>
|
15
|
+
#include <libxml/tree.h>
|
16
|
+
|
17
|
+
#ifdef __cplusplus
|
18
|
+
extern "C" {
|
19
|
+
#endif
|
20
|
+
|
21
|
+
/*
|
22
|
+
* The different valid entity types.
|
23
|
+
*/
|
24
|
+
typedef enum {
|
25
|
+
XML_INTERNAL_GENERAL_ENTITY = 1,
|
26
|
+
XML_EXTERNAL_GENERAL_PARSED_ENTITY = 2,
|
27
|
+
XML_EXTERNAL_GENERAL_UNPARSED_ENTITY = 3,
|
28
|
+
XML_INTERNAL_PARAMETER_ENTITY = 4,
|
29
|
+
XML_EXTERNAL_PARAMETER_ENTITY = 5,
|
30
|
+
XML_INTERNAL_PREDEFINED_ENTITY = 6
|
31
|
+
} xmlEntityType;
|
32
|
+
|
33
|
+
/*
|
34
|
+
* An unit of storage for an entity, contains the string, the value
|
35
|
+
* and the linkind data needed for the linking in the hash table.
|
36
|
+
*/
|
37
|
+
|
38
|
+
struct _xmlEntity {
|
39
|
+
void *_private; /* application data */
|
40
|
+
xmlElementType type; /* XML_ENTITY_DECL, must be second ! */
|
41
|
+
const xmlChar *name; /* Entity name */
|
42
|
+
struct _xmlNode *children; /* First child link */
|
43
|
+
struct _xmlNode *last; /* Last child link */
|
44
|
+
struct _xmlDtd *parent; /* -> DTD */
|
45
|
+
struct _xmlNode *next; /* next sibling link */
|
46
|
+
struct _xmlNode *prev; /* previous sibling link */
|
47
|
+
struct _xmlDoc *doc; /* the containing document */
|
48
|
+
|
49
|
+
xmlChar *orig; /* content without ref substitution */
|
50
|
+
xmlChar *content; /* content or ndata if unparsed */
|
51
|
+
int length; /* the content length */
|
52
|
+
xmlEntityType etype; /* The entity type */
|
53
|
+
const xmlChar *ExternalID; /* External identifier for PUBLIC */
|
54
|
+
const xmlChar *SystemID; /* URI for a SYSTEM or PUBLIC Entity */
|
55
|
+
|
56
|
+
struct _xmlEntity *nexte; /* unused */
|
57
|
+
const xmlChar *URI; /* the full URI as computed */
|
58
|
+
int owner; /* does the entity own the childrens */
|
59
|
+
int checked; /* was the entity content checked */
|
60
|
+
/* this is also used to count entities
|
61
|
+
* references done from that entity
|
62
|
+
* and if it contains '<' */
|
63
|
+
};
|
64
|
+
|
65
|
+
/*
|
66
|
+
* All entities are stored in an hash table.
|
67
|
+
* There is 2 separate hash tables for global and parameter entities.
|
68
|
+
*/
|
69
|
+
|
70
|
+
typedef struct _xmlHashTable xmlEntitiesTable;
|
71
|
+
typedef xmlEntitiesTable *xmlEntitiesTablePtr;
|
72
|
+
|
73
|
+
/*
|
74
|
+
* External functions:
|
75
|
+
*/
|
76
|
+
|
77
|
+
#ifdef LIBXML_LEGACY_ENABLED
|
78
|
+
XMLPUBFUN void XMLCALL
|
79
|
+
xmlInitializePredefinedEntities (void);
|
80
|
+
#endif /* LIBXML_LEGACY_ENABLED */
|
81
|
+
|
82
|
+
XMLPUBFUN xmlEntityPtr XMLCALL
|
83
|
+
xmlNewEntity (xmlDocPtr doc,
|
84
|
+
const xmlChar *name,
|
85
|
+
int type,
|
86
|
+
const xmlChar *ExternalID,
|
87
|
+
const xmlChar *SystemID,
|
88
|
+
const xmlChar *content);
|
89
|
+
XMLPUBFUN xmlEntityPtr XMLCALL
|
90
|
+
xmlAddDocEntity (xmlDocPtr doc,
|
91
|
+
const xmlChar *name,
|
92
|
+
int type,
|
93
|
+
const xmlChar *ExternalID,
|
94
|
+
const xmlChar *SystemID,
|
95
|
+
const xmlChar *content);
|
96
|
+
XMLPUBFUN xmlEntityPtr XMLCALL
|
97
|
+
xmlAddDtdEntity (xmlDocPtr doc,
|
98
|
+
const xmlChar *name,
|
99
|
+
int type,
|
100
|
+
const xmlChar *ExternalID,
|
101
|
+
const xmlChar *SystemID,
|
102
|
+
const xmlChar *content);
|
103
|
+
XMLPUBFUN xmlEntityPtr XMLCALL
|
104
|
+
xmlGetPredefinedEntity (const xmlChar *name);
|
105
|
+
XMLPUBFUN xmlEntityPtr XMLCALL
|
106
|
+
xmlGetDocEntity (const xmlDoc *doc,
|
107
|
+
const xmlChar *name);
|
108
|
+
XMLPUBFUN xmlEntityPtr XMLCALL
|
109
|
+
xmlGetDtdEntity (xmlDocPtr doc,
|
110
|
+
const xmlChar *name);
|
111
|
+
XMLPUBFUN xmlEntityPtr XMLCALL
|
112
|
+
xmlGetParameterEntity (xmlDocPtr doc,
|
113
|
+
const xmlChar *name);
|
114
|
+
#ifdef LIBXML_LEGACY_ENABLED
|
115
|
+
XMLPUBFUN const xmlChar * XMLCALL
|
116
|
+
xmlEncodeEntities (xmlDocPtr doc,
|
117
|
+
const xmlChar *input);
|
118
|
+
#endif /* LIBXML_LEGACY_ENABLED */
|
119
|
+
XMLPUBFUN xmlChar * XMLCALL
|
120
|
+
xmlEncodeEntitiesReentrant(xmlDocPtr doc,
|
121
|
+
const xmlChar *input);
|
122
|
+
XMLPUBFUN xmlChar * XMLCALL
|
123
|
+
xmlEncodeSpecialChars (const xmlDoc *doc,
|
124
|
+
const xmlChar *input);
|
125
|
+
XMLPUBFUN xmlEntitiesTablePtr XMLCALL
|
126
|
+
xmlCreateEntitiesTable (void);
|
127
|
+
#ifdef LIBXML_TREE_ENABLED
|
128
|
+
XMLPUBFUN xmlEntitiesTablePtr XMLCALL
|
129
|
+
xmlCopyEntitiesTable (xmlEntitiesTablePtr table);
|
130
|
+
#endif /* LIBXML_TREE_ENABLED */
|
131
|
+
XMLPUBFUN void XMLCALL
|
132
|
+
xmlFreeEntitiesTable (xmlEntitiesTablePtr table);
|
133
|
+
#ifdef LIBXML_OUTPUT_ENABLED
|
134
|
+
XMLPUBFUN void XMLCALL
|
135
|
+
xmlDumpEntitiesTable (xmlBufferPtr buf,
|
136
|
+
xmlEntitiesTablePtr table);
|
137
|
+
XMLPUBFUN void XMLCALL
|
138
|
+
xmlDumpEntityDecl (xmlBufferPtr buf,
|
139
|
+
xmlEntityPtr ent);
|
140
|
+
#endif /* LIBXML_OUTPUT_ENABLED */
|
141
|
+
#ifdef LIBXML_LEGACY_ENABLED
|
142
|
+
XMLPUBFUN void XMLCALL
|
143
|
+
xmlCleanupPredefinedEntities(void);
|
144
|
+
#endif /* LIBXML_LEGACY_ENABLED */
|
145
|
+
|
146
|
+
|
147
|
+
#ifdef __cplusplus
|
148
|
+
}
|
149
|
+
#endif
|
150
|
+
|
151
|
+
# endif /* __XML_ENTITIES_H__ */
|
@@ -0,0 +1,508 @@
|
|
1
|
+
/*
|
2
|
+
* Summary: interface for all global variables of the library
|
3
|
+
* Description: all the global variables and thread handling for
|
4
|
+
* those variables is handled by this module.
|
5
|
+
*
|
6
|
+
* The bottom of this file is automatically generated by build_glob.py
|
7
|
+
* based on the description file global.data
|
8
|
+
*
|
9
|
+
* Copy: See Copyright for the status of this software.
|
10
|
+
*
|
11
|
+
* Author: Gary Pennington <Gary.Pennington@uk.sun.com>, Daniel Veillard
|
12
|
+
*/
|
13
|
+
|
14
|
+
#ifndef __XML_GLOBALS_H
|
15
|
+
#define __XML_GLOBALS_H
|
16
|
+
|
17
|
+
#include <libxml/xmlversion.h>
|
18
|
+
#include <libxml/parser.h>
|
19
|
+
#include <libxml/xmlerror.h>
|
20
|
+
#include <libxml/SAX2.h>
|
21
|
+
#include <libxml/xmlmemory.h>
|
22
|
+
|
23
|
+
#ifdef __cplusplus
|
24
|
+
extern "C" {
|
25
|
+
#endif
|
26
|
+
|
27
|
+
XMLPUBFUN void XMLCALL xmlInitGlobals(void);
|
28
|
+
XMLPUBFUN void XMLCALL xmlCleanupGlobals(void);
|
29
|
+
|
30
|
+
/**
|
31
|
+
* xmlParserInputBufferCreateFilenameFunc:
|
32
|
+
* @URI: the URI to read from
|
33
|
+
* @enc: the requested source encoding
|
34
|
+
*
|
35
|
+
* Signature for the function doing the lookup for a suitable input method
|
36
|
+
* corresponding to an URI.
|
37
|
+
*
|
38
|
+
* Returns the new xmlParserInputBufferPtr in case of success or NULL if no
|
39
|
+
* method was found.
|
40
|
+
*/
|
41
|
+
typedef xmlParserInputBufferPtr (*xmlParserInputBufferCreateFilenameFunc) (const char *URI,
|
42
|
+
xmlCharEncoding enc);
|
43
|
+
|
44
|
+
|
45
|
+
/**
|
46
|
+
* xmlOutputBufferCreateFilenameFunc:
|
47
|
+
* @URI: the URI to write to
|
48
|
+
* @enc: the requested target encoding
|
49
|
+
*
|
50
|
+
* Signature for the function doing the lookup for a suitable output method
|
51
|
+
* corresponding to an URI.
|
52
|
+
*
|
53
|
+
* Returns the new xmlOutputBufferPtr in case of success or NULL if no
|
54
|
+
* method was found.
|
55
|
+
*/
|
56
|
+
typedef xmlOutputBufferPtr (*xmlOutputBufferCreateFilenameFunc) (const char *URI,
|
57
|
+
xmlCharEncodingHandlerPtr encoder,
|
58
|
+
int compression);
|
59
|
+
|
60
|
+
XMLPUBFUN xmlParserInputBufferCreateFilenameFunc
|
61
|
+
XMLCALL xmlParserInputBufferCreateFilenameDefault (xmlParserInputBufferCreateFilenameFunc func);
|
62
|
+
XMLPUBFUN xmlOutputBufferCreateFilenameFunc
|
63
|
+
XMLCALL xmlOutputBufferCreateFilenameDefault (xmlOutputBufferCreateFilenameFunc func);
|
64
|
+
|
65
|
+
/*
|
66
|
+
* Externally global symbols which need to be protected for backwards
|
67
|
+
* compatibility support.
|
68
|
+
*/
|
69
|
+
|
70
|
+
#undef docbDefaultSAXHandler
|
71
|
+
#undef htmlDefaultSAXHandler
|
72
|
+
#undef oldXMLWDcompatibility
|
73
|
+
#undef xmlBufferAllocScheme
|
74
|
+
#undef xmlDefaultBufferSize
|
75
|
+
#undef xmlDefaultSAXHandler
|
76
|
+
#undef xmlDefaultSAXLocator
|
77
|
+
#undef xmlDoValidityCheckingDefaultValue
|
78
|
+
#undef xmlFree
|
79
|
+
#undef xmlGenericError
|
80
|
+
#undef xmlStructuredError
|
81
|
+
#undef xmlGenericErrorContext
|
82
|
+
#undef xmlStructuredErrorContext
|
83
|
+
#undef xmlGetWarningsDefaultValue
|
84
|
+
#undef xmlIndentTreeOutput
|
85
|
+
#undef xmlTreeIndentString
|
86
|
+
#undef xmlKeepBlanksDefaultValue
|
87
|
+
#undef xmlLineNumbersDefaultValue
|
88
|
+
#undef xmlLoadExtDtdDefaultValue
|
89
|
+
#undef xmlMalloc
|
90
|
+
#undef xmlMallocAtomic
|
91
|
+
#undef xmlMemStrdup
|
92
|
+
#undef xmlParserDebugEntities
|
93
|
+
#undef xmlParserVersion
|
94
|
+
#undef xmlPedanticParserDefaultValue
|
95
|
+
#undef xmlRealloc
|
96
|
+
#undef xmlSaveNoEmptyTags
|
97
|
+
#undef xmlSubstituteEntitiesDefaultValue
|
98
|
+
#undef xmlRegisterNodeDefaultValue
|
99
|
+
#undef xmlDeregisterNodeDefaultValue
|
100
|
+
#undef xmlLastError
|
101
|
+
#undef xmlParserInputBufferCreateFilenameValue
|
102
|
+
#undef xmlOutputBufferCreateFilenameValue
|
103
|
+
|
104
|
+
/**
|
105
|
+
* xmlRegisterNodeFunc:
|
106
|
+
* @node: the current node
|
107
|
+
*
|
108
|
+
* Signature for the registration callback of a created node
|
109
|
+
*/
|
110
|
+
typedef void (*xmlRegisterNodeFunc) (xmlNodePtr node);
|
111
|
+
/**
|
112
|
+
* xmlDeregisterNodeFunc:
|
113
|
+
* @node: the current node
|
114
|
+
*
|
115
|
+
* Signature for the deregistration callback of a discarded node
|
116
|
+
*/
|
117
|
+
typedef void (*xmlDeregisterNodeFunc) (xmlNodePtr node);
|
118
|
+
|
119
|
+
typedef struct _xmlGlobalState xmlGlobalState;
|
120
|
+
typedef xmlGlobalState *xmlGlobalStatePtr;
|
121
|
+
struct _xmlGlobalState
|
122
|
+
{
|
123
|
+
const char *xmlParserVersion;
|
124
|
+
|
125
|
+
xmlSAXLocator xmlDefaultSAXLocator;
|
126
|
+
xmlSAXHandlerV1 xmlDefaultSAXHandler;
|
127
|
+
xmlSAXHandlerV1 docbDefaultSAXHandler;
|
128
|
+
xmlSAXHandlerV1 htmlDefaultSAXHandler;
|
129
|
+
|
130
|
+
xmlFreeFunc xmlFree;
|
131
|
+
xmlMallocFunc xmlMalloc;
|
132
|
+
xmlStrdupFunc xmlMemStrdup;
|
133
|
+
xmlReallocFunc xmlRealloc;
|
134
|
+
|
135
|
+
xmlGenericErrorFunc xmlGenericError;
|
136
|
+
xmlStructuredErrorFunc xmlStructuredError;
|
137
|
+
void *xmlGenericErrorContext;
|
138
|
+
|
139
|
+
int oldXMLWDcompatibility;
|
140
|
+
|
141
|
+
xmlBufferAllocationScheme xmlBufferAllocScheme;
|
142
|
+
int xmlDefaultBufferSize;
|
143
|
+
|
144
|
+
int xmlSubstituteEntitiesDefaultValue;
|
145
|
+
int xmlDoValidityCheckingDefaultValue;
|
146
|
+
int xmlGetWarningsDefaultValue;
|
147
|
+
int xmlKeepBlanksDefaultValue;
|
148
|
+
int xmlLineNumbersDefaultValue;
|
149
|
+
int xmlLoadExtDtdDefaultValue;
|
150
|
+
int xmlParserDebugEntities;
|
151
|
+
int xmlPedanticParserDefaultValue;
|
152
|
+
|
153
|
+
int xmlSaveNoEmptyTags;
|
154
|
+
int xmlIndentTreeOutput;
|
155
|
+
const char *xmlTreeIndentString;
|
156
|
+
|
157
|
+
xmlRegisterNodeFunc xmlRegisterNodeDefaultValue;
|
158
|
+
xmlDeregisterNodeFunc xmlDeregisterNodeDefaultValue;
|
159
|
+
|
160
|
+
xmlMallocFunc xmlMallocAtomic;
|
161
|
+
xmlError xmlLastError;
|
162
|
+
|
163
|
+
xmlParserInputBufferCreateFilenameFunc xmlParserInputBufferCreateFilenameValue;
|
164
|
+
xmlOutputBufferCreateFilenameFunc xmlOutputBufferCreateFilenameValue;
|
165
|
+
|
166
|
+
void *xmlStructuredErrorContext;
|
167
|
+
};
|
168
|
+
|
169
|
+
#ifdef __cplusplus
|
170
|
+
}
|
171
|
+
#endif
|
172
|
+
#include <libxml/threads.h>
|
173
|
+
#ifdef __cplusplus
|
174
|
+
extern "C" {
|
175
|
+
#endif
|
176
|
+
|
177
|
+
XMLPUBFUN void XMLCALL xmlInitializeGlobalState(xmlGlobalStatePtr gs);
|
178
|
+
|
179
|
+
XMLPUBFUN void XMLCALL xmlThrDefSetGenericErrorFunc(void *ctx, xmlGenericErrorFunc handler);
|
180
|
+
|
181
|
+
XMLPUBFUN void XMLCALL xmlThrDefSetStructuredErrorFunc(void *ctx, xmlStructuredErrorFunc handler);
|
182
|
+
|
183
|
+
XMLPUBFUN xmlRegisterNodeFunc XMLCALL xmlRegisterNodeDefault(xmlRegisterNodeFunc func);
|
184
|
+
XMLPUBFUN xmlRegisterNodeFunc XMLCALL xmlThrDefRegisterNodeDefault(xmlRegisterNodeFunc func);
|
185
|
+
XMLPUBFUN xmlDeregisterNodeFunc XMLCALL xmlDeregisterNodeDefault(xmlDeregisterNodeFunc func);
|
186
|
+
XMLPUBFUN xmlDeregisterNodeFunc XMLCALL xmlThrDefDeregisterNodeDefault(xmlDeregisterNodeFunc func);
|
187
|
+
|
188
|
+
XMLPUBFUN xmlOutputBufferCreateFilenameFunc XMLCALL
|
189
|
+
xmlThrDefOutputBufferCreateFilenameDefault(xmlOutputBufferCreateFilenameFunc func);
|
190
|
+
XMLPUBFUN xmlParserInputBufferCreateFilenameFunc XMLCALL
|
191
|
+
xmlThrDefParserInputBufferCreateFilenameDefault(
|
192
|
+
xmlParserInputBufferCreateFilenameFunc func);
|
193
|
+
|
194
|
+
/** DOC_DISABLE */
|
195
|
+
/*
|
196
|
+
* In general the memory allocation entry points are not kept
|
197
|
+
* thread specific but this can be overridden by LIBXML_THREAD_ALLOC_ENABLED
|
198
|
+
* - xmlMalloc
|
199
|
+
* - xmlMallocAtomic
|
200
|
+
* - xmlRealloc
|
201
|
+
* - xmlMemStrdup
|
202
|
+
* - xmlFree
|
203
|
+
*/
|
204
|
+
|
205
|
+
#ifdef LIBXML_THREAD_ALLOC_ENABLED
|
206
|
+
#ifdef LIBXML_THREAD_ENABLED
|
207
|
+
XMLPUBFUN xmlMallocFunc * XMLCALL __xmlMalloc(void);
|
208
|
+
#define xmlMalloc \
|
209
|
+
(*(__xmlMalloc()))
|
210
|
+
#else
|
211
|
+
XMLPUBVAR xmlMallocFunc xmlMalloc;
|
212
|
+
#endif
|
213
|
+
|
214
|
+
#ifdef LIBXML_THREAD_ENABLED
|
215
|
+
XMLPUBFUN xmlMallocFunc * XMLCALL __xmlMallocAtomic(void);
|
216
|
+
#define xmlMallocAtomic \
|
217
|
+
(*(__xmlMallocAtomic()))
|
218
|
+
#else
|
219
|
+
XMLPUBVAR xmlMallocFunc xmlMallocAtomic;
|
220
|
+
#endif
|
221
|
+
|
222
|
+
#ifdef LIBXML_THREAD_ENABLED
|
223
|
+
XMLPUBFUN xmlReallocFunc * XMLCALL __xmlRealloc(void);
|
224
|
+
#define xmlRealloc \
|
225
|
+
(*(__xmlRealloc()))
|
226
|
+
#else
|
227
|
+
XMLPUBVAR xmlReallocFunc xmlRealloc;
|
228
|
+
#endif
|
229
|
+
|
230
|
+
#ifdef LIBXML_THREAD_ENABLED
|
231
|
+
XMLPUBFUN xmlFreeFunc * XMLCALL __xmlFree(void);
|
232
|
+
#define xmlFree \
|
233
|
+
(*(__xmlFree()))
|
234
|
+
#else
|
235
|
+
XMLPUBVAR xmlFreeFunc xmlFree;
|
236
|
+
#endif
|
237
|
+
|
238
|
+
#ifdef LIBXML_THREAD_ENABLED
|
239
|
+
XMLPUBFUN xmlStrdupFunc * XMLCALL __xmlMemStrdup(void);
|
240
|
+
#define xmlMemStrdup \
|
241
|
+
(*(__xmlMemStrdup()))
|
242
|
+
#else
|
243
|
+
XMLPUBVAR xmlStrdupFunc xmlMemStrdup;
|
244
|
+
#endif
|
245
|
+
|
246
|
+
#else /* !LIBXML_THREAD_ALLOC_ENABLED */
|
247
|
+
XMLPUBVAR xmlMallocFunc xmlMalloc;
|
248
|
+
XMLPUBVAR xmlMallocFunc xmlMallocAtomic;
|
249
|
+
XMLPUBVAR xmlReallocFunc xmlRealloc;
|
250
|
+
XMLPUBVAR xmlFreeFunc xmlFree;
|
251
|
+
XMLPUBVAR xmlStrdupFunc xmlMemStrdup;
|
252
|
+
#endif /* LIBXML_THREAD_ALLOC_ENABLED */
|
253
|
+
|
254
|
+
#ifdef LIBXML_DOCB_ENABLED
|
255
|
+
XMLPUBFUN xmlSAXHandlerV1 * XMLCALL __docbDefaultSAXHandler(void);
|
256
|
+
#ifdef LIBXML_THREAD_ENABLED
|
257
|
+
#define docbDefaultSAXHandler \
|
258
|
+
(*(__docbDefaultSAXHandler()))
|
259
|
+
#else
|
260
|
+
XMLPUBVAR xmlSAXHandlerV1 docbDefaultSAXHandler;
|
261
|
+
#endif
|
262
|
+
#endif
|
263
|
+
|
264
|
+
#ifdef LIBXML_HTML_ENABLED
|
265
|
+
XMLPUBFUN xmlSAXHandlerV1 * XMLCALL __htmlDefaultSAXHandler(void);
|
266
|
+
#ifdef LIBXML_THREAD_ENABLED
|
267
|
+
#define htmlDefaultSAXHandler \
|
268
|
+
(*(__htmlDefaultSAXHandler()))
|
269
|
+
#else
|
270
|
+
XMLPUBVAR xmlSAXHandlerV1 htmlDefaultSAXHandler;
|
271
|
+
#endif
|
272
|
+
#endif
|
273
|
+
|
274
|
+
XMLPUBFUN xmlError * XMLCALL __xmlLastError(void);
|
275
|
+
#ifdef LIBXML_THREAD_ENABLED
|
276
|
+
#define xmlLastError \
|
277
|
+
(*(__xmlLastError()))
|
278
|
+
#else
|
279
|
+
XMLPUBVAR xmlError xmlLastError;
|
280
|
+
#endif
|
281
|
+
|
282
|
+
/*
|
283
|
+
* Everything starting from the line below is
|
284
|
+
* Automatically generated by build_glob.py.
|
285
|
+
* Do not modify the previous line.
|
286
|
+
*/
|
287
|
+
|
288
|
+
|
289
|
+
XMLPUBFUN int * XMLCALL __oldXMLWDcompatibility(void);
|
290
|
+
#ifdef LIBXML_THREAD_ENABLED
|
291
|
+
#define oldXMLWDcompatibility \
|
292
|
+
(*(__oldXMLWDcompatibility()))
|
293
|
+
#else
|
294
|
+
XMLPUBVAR int oldXMLWDcompatibility;
|
295
|
+
#endif
|
296
|
+
|
297
|
+
XMLPUBFUN xmlBufferAllocationScheme * XMLCALL __xmlBufferAllocScheme(void);
|
298
|
+
#ifdef LIBXML_THREAD_ENABLED
|
299
|
+
#define xmlBufferAllocScheme \
|
300
|
+
(*(__xmlBufferAllocScheme()))
|
301
|
+
#else
|
302
|
+
XMLPUBVAR xmlBufferAllocationScheme xmlBufferAllocScheme;
|
303
|
+
#endif
|
304
|
+
XMLPUBFUN xmlBufferAllocationScheme XMLCALL
|
305
|
+
xmlThrDefBufferAllocScheme(xmlBufferAllocationScheme v);
|
306
|
+
|
307
|
+
XMLPUBFUN int * XMLCALL __xmlDefaultBufferSize(void);
|
308
|
+
#ifdef LIBXML_THREAD_ENABLED
|
309
|
+
#define xmlDefaultBufferSize \
|
310
|
+
(*(__xmlDefaultBufferSize()))
|
311
|
+
#else
|
312
|
+
XMLPUBVAR int xmlDefaultBufferSize;
|
313
|
+
#endif
|
314
|
+
XMLPUBFUN int XMLCALL xmlThrDefDefaultBufferSize(int v);
|
315
|
+
|
316
|
+
XMLPUBFUN xmlSAXHandlerV1 * XMLCALL __xmlDefaultSAXHandler(void);
|
317
|
+
#ifdef LIBXML_THREAD_ENABLED
|
318
|
+
#define xmlDefaultSAXHandler \
|
319
|
+
(*(__xmlDefaultSAXHandler()))
|
320
|
+
#else
|
321
|
+
XMLPUBVAR xmlSAXHandlerV1 xmlDefaultSAXHandler;
|
322
|
+
#endif
|
323
|
+
|
324
|
+
XMLPUBFUN xmlSAXLocator * XMLCALL __xmlDefaultSAXLocator(void);
|
325
|
+
#ifdef LIBXML_THREAD_ENABLED
|
326
|
+
#define xmlDefaultSAXLocator \
|
327
|
+
(*(__xmlDefaultSAXLocator()))
|
328
|
+
#else
|
329
|
+
XMLPUBVAR xmlSAXLocator xmlDefaultSAXLocator;
|
330
|
+
#endif
|
331
|
+
|
332
|
+
XMLPUBFUN int * XMLCALL __xmlDoValidityCheckingDefaultValue(void);
|
333
|
+
#ifdef LIBXML_THREAD_ENABLED
|
334
|
+
#define xmlDoValidityCheckingDefaultValue \
|
335
|
+
(*(__xmlDoValidityCheckingDefaultValue()))
|
336
|
+
#else
|
337
|
+
XMLPUBVAR int xmlDoValidityCheckingDefaultValue;
|
338
|
+
#endif
|
339
|
+
XMLPUBFUN int XMLCALL xmlThrDefDoValidityCheckingDefaultValue(int v);
|
340
|
+
|
341
|
+
XMLPUBFUN xmlGenericErrorFunc * XMLCALL __xmlGenericError(void);
|
342
|
+
#ifdef LIBXML_THREAD_ENABLED
|
343
|
+
#define xmlGenericError \
|
344
|
+
(*(__xmlGenericError()))
|
345
|
+
#else
|
346
|
+
XMLPUBVAR xmlGenericErrorFunc xmlGenericError;
|
347
|
+
#endif
|
348
|
+
|
349
|
+
XMLPUBFUN xmlStructuredErrorFunc * XMLCALL __xmlStructuredError(void);
|
350
|
+
#ifdef LIBXML_THREAD_ENABLED
|
351
|
+
#define xmlStructuredError \
|
352
|
+
(*(__xmlStructuredError()))
|
353
|
+
#else
|
354
|
+
XMLPUBVAR xmlStructuredErrorFunc xmlStructuredError;
|
355
|
+
#endif
|
356
|
+
|
357
|
+
XMLPUBFUN void * * XMLCALL __xmlGenericErrorContext(void);
|
358
|
+
#ifdef LIBXML_THREAD_ENABLED
|
359
|
+
#define xmlGenericErrorContext \
|
360
|
+
(*(__xmlGenericErrorContext()))
|
361
|
+
#else
|
362
|
+
XMLPUBVAR void * xmlGenericErrorContext;
|
363
|
+
#endif
|
364
|
+
|
365
|
+
XMLPUBFUN void * * XMLCALL __xmlStructuredErrorContext(void);
|
366
|
+
#ifdef LIBXML_THREAD_ENABLED
|
367
|
+
#define xmlStructuredErrorContext \
|
368
|
+
(*(__xmlStructuredErrorContext()))
|
369
|
+
#else
|
370
|
+
XMLPUBVAR void * xmlStructuredErrorContext;
|
371
|
+
#endif
|
372
|
+
|
373
|
+
XMLPUBFUN int * XMLCALL __xmlGetWarningsDefaultValue(void);
|
374
|
+
#ifdef LIBXML_THREAD_ENABLED
|
375
|
+
#define xmlGetWarningsDefaultValue \
|
376
|
+
(*(__xmlGetWarningsDefaultValue()))
|
377
|
+
#else
|
378
|
+
XMLPUBVAR int xmlGetWarningsDefaultValue;
|
379
|
+
#endif
|
380
|
+
XMLPUBFUN int XMLCALL xmlThrDefGetWarningsDefaultValue(int v);
|
381
|
+
|
382
|
+
XMLPUBFUN int * XMLCALL __xmlIndentTreeOutput(void);
|
383
|
+
#ifdef LIBXML_THREAD_ENABLED
|
384
|
+
#define xmlIndentTreeOutput \
|
385
|
+
(*(__xmlIndentTreeOutput()))
|
386
|
+
#else
|
387
|
+
XMLPUBVAR int xmlIndentTreeOutput;
|
388
|
+
#endif
|
389
|
+
XMLPUBFUN int XMLCALL xmlThrDefIndentTreeOutput(int v);
|
390
|
+
|
391
|
+
XMLPUBFUN const char * * XMLCALL __xmlTreeIndentString(void);
|
392
|
+
#ifdef LIBXML_THREAD_ENABLED
|
393
|
+
#define xmlTreeIndentString \
|
394
|
+
(*(__xmlTreeIndentString()))
|
395
|
+
#else
|
396
|
+
XMLPUBVAR const char * xmlTreeIndentString;
|
397
|
+
#endif
|
398
|
+
XMLPUBFUN const char * XMLCALL xmlThrDefTreeIndentString(const char * v);
|
399
|
+
|
400
|
+
XMLPUBFUN int * XMLCALL __xmlKeepBlanksDefaultValue(void);
|
401
|
+
#ifdef LIBXML_THREAD_ENABLED
|
402
|
+
#define xmlKeepBlanksDefaultValue \
|
403
|
+
(*(__xmlKeepBlanksDefaultValue()))
|
404
|
+
#else
|
405
|
+
XMLPUBVAR int xmlKeepBlanksDefaultValue;
|
406
|
+
#endif
|
407
|
+
XMLPUBFUN int XMLCALL xmlThrDefKeepBlanksDefaultValue(int v);
|
408
|
+
|
409
|
+
XMLPUBFUN int * XMLCALL __xmlLineNumbersDefaultValue(void);
|
410
|
+
#ifdef LIBXML_THREAD_ENABLED
|
411
|
+
#define xmlLineNumbersDefaultValue \
|
412
|
+
(*(__xmlLineNumbersDefaultValue()))
|
413
|
+
#else
|
414
|
+
XMLPUBVAR int xmlLineNumbersDefaultValue;
|
415
|
+
#endif
|
416
|
+
XMLPUBFUN int XMLCALL xmlThrDefLineNumbersDefaultValue(int v);
|
417
|
+
|
418
|
+
XMLPUBFUN int * XMLCALL __xmlLoadExtDtdDefaultValue(void);
|
419
|
+
#ifdef LIBXML_THREAD_ENABLED
|
420
|
+
#define xmlLoadExtDtdDefaultValue \
|
421
|
+
(*(__xmlLoadExtDtdDefaultValue()))
|
422
|
+
#else
|
423
|
+
XMLPUBVAR int xmlLoadExtDtdDefaultValue;
|
424
|
+
#endif
|
425
|
+
XMLPUBFUN int XMLCALL xmlThrDefLoadExtDtdDefaultValue(int v);
|
426
|
+
|
427
|
+
XMLPUBFUN int * XMLCALL __xmlParserDebugEntities(void);
|
428
|
+
#ifdef LIBXML_THREAD_ENABLED
|
429
|
+
#define xmlParserDebugEntities \
|
430
|
+
(*(__xmlParserDebugEntities()))
|
431
|
+
#else
|
432
|
+
XMLPUBVAR int xmlParserDebugEntities;
|
433
|
+
#endif
|
434
|
+
XMLPUBFUN int XMLCALL xmlThrDefParserDebugEntities(int v);
|
435
|
+
|
436
|
+
XMLPUBFUN const char * * XMLCALL __xmlParserVersion(void);
|
437
|
+
#ifdef LIBXML_THREAD_ENABLED
|
438
|
+
#define xmlParserVersion \
|
439
|
+
(*(__xmlParserVersion()))
|
440
|
+
#else
|
441
|
+
XMLPUBVAR const char * xmlParserVersion;
|
442
|
+
#endif
|
443
|
+
|
444
|
+
XMLPUBFUN int * XMLCALL __xmlPedanticParserDefaultValue(void);
|
445
|
+
#ifdef LIBXML_THREAD_ENABLED
|
446
|
+
#define xmlPedanticParserDefaultValue \
|
447
|
+
(*(__xmlPedanticParserDefaultValue()))
|
448
|
+
#else
|
449
|
+
XMLPUBVAR int xmlPedanticParserDefaultValue;
|
450
|
+
#endif
|
451
|
+
XMLPUBFUN int XMLCALL xmlThrDefPedanticParserDefaultValue(int v);
|
452
|
+
|
453
|
+
XMLPUBFUN int * XMLCALL __xmlSaveNoEmptyTags(void);
|
454
|
+
#ifdef LIBXML_THREAD_ENABLED
|
455
|
+
#define xmlSaveNoEmptyTags \
|
456
|
+
(*(__xmlSaveNoEmptyTags()))
|
457
|
+
#else
|
458
|
+
XMLPUBVAR int xmlSaveNoEmptyTags;
|
459
|
+
#endif
|
460
|
+
XMLPUBFUN int XMLCALL xmlThrDefSaveNoEmptyTags(int v);
|
461
|
+
|
462
|
+
XMLPUBFUN int * XMLCALL __xmlSubstituteEntitiesDefaultValue(void);
|
463
|
+
#ifdef LIBXML_THREAD_ENABLED
|
464
|
+
#define xmlSubstituteEntitiesDefaultValue \
|
465
|
+
(*(__xmlSubstituteEntitiesDefaultValue()))
|
466
|
+
#else
|
467
|
+
XMLPUBVAR int xmlSubstituteEntitiesDefaultValue;
|
468
|
+
#endif
|
469
|
+
XMLPUBFUN int XMLCALL xmlThrDefSubstituteEntitiesDefaultValue(int v);
|
470
|
+
|
471
|
+
XMLPUBFUN xmlRegisterNodeFunc * XMLCALL __xmlRegisterNodeDefaultValue(void);
|
472
|
+
#ifdef LIBXML_THREAD_ENABLED
|
473
|
+
#define xmlRegisterNodeDefaultValue \
|
474
|
+
(*(__xmlRegisterNodeDefaultValue()))
|
475
|
+
#else
|
476
|
+
XMLPUBVAR xmlRegisterNodeFunc xmlRegisterNodeDefaultValue;
|
477
|
+
#endif
|
478
|
+
|
479
|
+
XMLPUBFUN xmlDeregisterNodeFunc * XMLCALL __xmlDeregisterNodeDefaultValue(void);
|
480
|
+
#ifdef LIBXML_THREAD_ENABLED
|
481
|
+
#define xmlDeregisterNodeDefaultValue \
|
482
|
+
(*(__xmlDeregisterNodeDefaultValue()))
|
483
|
+
#else
|
484
|
+
XMLPUBVAR xmlDeregisterNodeFunc xmlDeregisterNodeDefaultValue;
|
485
|
+
#endif
|
486
|
+
|
487
|
+
XMLPUBFUN xmlParserInputBufferCreateFilenameFunc * XMLCALL \
|
488
|
+
__xmlParserInputBufferCreateFilenameValue(void);
|
489
|
+
#ifdef LIBXML_THREAD_ENABLED
|
490
|
+
#define xmlParserInputBufferCreateFilenameValue \
|
491
|
+
(*(__xmlParserInputBufferCreateFilenameValue()))
|
492
|
+
#else
|
493
|
+
XMLPUBVAR xmlParserInputBufferCreateFilenameFunc xmlParserInputBufferCreateFilenameValue;
|
494
|
+
#endif
|
495
|
+
|
496
|
+
XMLPUBFUN xmlOutputBufferCreateFilenameFunc * XMLCALL __xmlOutputBufferCreateFilenameValue(void);
|
497
|
+
#ifdef LIBXML_THREAD_ENABLED
|
498
|
+
#define xmlOutputBufferCreateFilenameValue \
|
499
|
+
(*(__xmlOutputBufferCreateFilenameValue()))
|
500
|
+
#else
|
501
|
+
XMLPUBVAR xmlOutputBufferCreateFilenameFunc xmlOutputBufferCreateFilenameValue;
|
502
|
+
#endif
|
503
|
+
|
504
|
+
#ifdef __cplusplus
|
505
|
+
}
|
506
|
+
#endif
|
507
|
+
|
508
|
+
#endif /* __XML_GLOBALS_H */
|