nokolexbor 0.2.5 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/ext/nokolexbor/CMakeLists.txt +7 -4
- data/ext/nokolexbor/config.h.cmake.in +2 -0
- data/ext/nokolexbor/extconf.rb +47 -25
- data/ext/nokolexbor/libxml/SAX2.h +4 -4
- data/ext/nokolexbor/libxml/chvalid.h +21 -21
- data/ext/nokolexbor/libxml/dict.h +13 -13
- data/ext/nokolexbor/libxml/globals.h +202 -202
- data/ext/nokolexbor/libxml/hash.h +25 -25
- data/ext/nokolexbor/libxml/parser.h +5 -5
- data/ext/nokolexbor/libxml/parserInternals.h +4 -4
- data/ext/nokolexbor/libxml/pattern.h +14 -14
- data/ext/nokolexbor/libxml/threads.h +15 -15
- data/ext/nokolexbor/libxml/tree.h +5 -5
- data/ext/nokolexbor/libxml/xmlerror.h +5 -5
- data/ext/nokolexbor/libxml/xmlmemory.h +16 -16
- data/ext/nokolexbor/libxml/xmlstring.h +30 -30
- data/ext/nokolexbor/libxml/xpath.h +43 -43
- data/ext/nokolexbor/libxml/xpathInternals.h +128 -128
- data/ext/nokolexbor/memory.c +6 -6
- data/ext/nokolexbor/nl_cdata.c +44 -0
- data/ext/nokolexbor/nl_comment.c +44 -0
- data/ext/nokolexbor/nl_document.c +23 -9
- data/ext/nokolexbor/nl_node.c +191 -178
- data/ext/nokolexbor/nl_node_set.c +38 -73
- data/ext/nokolexbor/nl_text.c +44 -0
- data/ext/nokolexbor/nl_xpath_context.c +33 -42
- data/ext/nokolexbor/nokolexbor.c +7 -3
- data/ext/nokolexbor/nokolexbor.h +9 -7
- data/ext/nokolexbor/private/buf.h +1 -1
- data/ext/nokolexbor/private/error.h +3 -3
- data/ext/nokolexbor/xml_SAX2.c +8 -8
- data/ext/nokolexbor/xml_buf.c +19 -19
- data/ext/nokolexbor/xml_chvalid.c +25 -25
- data/ext/nokolexbor/xml_dict.c +69 -69
- data/ext/nokolexbor/xml_encoding.c +2 -2
- data/ext/nokolexbor/xml_error.c +51 -51
- data/ext/nokolexbor/xml_globals.c +329 -329
- data/ext/nokolexbor/xml_hash.c +131 -131
- data/ext/nokolexbor/xml_memory.c +25 -25
- data/ext/nokolexbor/xml_parser.c +3 -3
- data/ext/nokolexbor/xml_parserInternals.c +15 -15
- data/ext/nokolexbor/xml_pattern.c +103 -103
- data/ext/nokolexbor/xml_string.c +93 -93
- data/ext/nokolexbor/xml_threads.c +61 -61
- data/ext/nokolexbor/xml_tree.c +12 -12
- data/ext/nokolexbor/xml_xpath.c +1194 -1203
- data/lib/nokolexbor/document.rb +92 -1
- data/lib/nokolexbor/node.rb +64 -0
- data/lib/nokolexbor/node_set.rb +6 -5
- data/lib/nokolexbor/version.rb +1 -1
- data/lib/nokolexbor.rb +21 -1
- data/patches/0001-lexbor-support-text-pseudo-element.patch +1 -1
- metadata +7 -4
@@ -25,9 +25,9 @@ extern "C" {
|
|
25
25
|
#endif
|
26
26
|
|
27
27
|
XML_DEPRECATED
|
28
|
-
XMLPUBFUN void XMLCALL
|
28
|
+
XMLPUBFUN void XMLCALL nl_xmlInitGlobals(void);
|
29
29
|
XML_DEPRECATED
|
30
|
-
XMLPUBFUN void XMLCALL
|
30
|
+
XMLPUBFUN void XMLCALL nl_xmlCleanupGlobals(void);
|
31
31
|
|
32
32
|
/**
|
33
33
|
* xmlParserInputBufferCreateFilenameFunc:
|
@@ -70,37 +70,37 @@ XMLCALL xmlOutputBufferCreateFilenameDefault (xmlOutputBufferCreateFilenameFunc
|
|
70
70
|
*/
|
71
71
|
|
72
72
|
#undef htmlDefaultSAXHandler
|
73
|
-
#undef
|
74
|
-
#undef
|
75
|
-
#undef
|
73
|
+
#undef nl_oldXMLWDcompatibility
|
74
|
+
#undef nl_xmlBufferAllocScheme
|
75
|
+
#undef nl_xmlDefaultBufferSize
|
76
76
|
#undef xmlDefaultSAXHandler
|
77
|
-
#undef
|
78
|
-
#undef
|
79
|
-
#undef
|
80
|
-
#undef
|
81
|
-
#undef
|
82
|
-
#undef
|
83
|
-
#undef
|
84
|
-
#undef
|
85
|
-
#undef
|
86
|
-
#undef
|
87
|
-
#undef
|
88
|
-
#undef
|
89
|
-
#undef
|
90
|
-
#undef
|
91
|
-
#undef
|
92
|
-
#undef
|
93
|
-
#undef
|
94
|
-
#undef
|
95
|
-
#undef
|
96
|
-
#undef
|
97
|
-
#undef
|
98
|
-
#undef
|
99
|
-
#undef
|
100
|
-
#undef
|
101
|
-
#undef
|
102
|
-
#undef
|
103
|
-
#undef
|
77
|
+
#undef nl_xmlDefaultSAXLocator
|
78
|
+
#undef nl_xmlDoValidityCheckingDefaultValue
|
79
|
+
#undef nl_xmlFree
|
80
|
+
#undef nl_xmlGenericError
|
81
|
+
#undef nl_xmlStructuredError
|
82
|
+
#undef nl_xmlGenericErrorContext
|
83
|
+
#undef nl_xmlStructuredErrorContext
|
84
|
+
#undef nl_xmlGetWarningsDefaultValue
|
85
|
+
#undef nl_xmlIndentTreeOutput
|
86
|
+
#undef nl_xmlTreeIndentString
|
87
|
+
#undef nl_xmlKeepBlanksDefaultValue
|
88
|
+
#undef nl_xmlLineNumbersDefaultValue
|
89
|
+
#undef nl_xmlLoadExtDtdDefaultValue
|
90
|
+
#undef nl_xmlMalloc
|
91
|
+
#undef nl_xmlMallocAtomic
|
92
|
+
#undef nl_xmlMemStrdup
|
93
|
+
#undef nl_xmlParserDebugEntities
|
94
|
+
#undef nl_xmlParserVersion
|
95
|
+
#undef nl_xmlPedanticParserDefaultValue
|
96
|
+
#undef nl_xmlRealloc
|
97
|
+
#undef nl_xmlSaveNoEmptyTags
|
98
|
+
#undef nl_xmlSubstituteEntitiesDefaultValue
|
99
|
+
#undef nl_xmlRegisterNodeDefaultValue
|
100
|
+
#undef nl_xmlDeregisterNodeDefaultValue
|
101
|
+
#undef nl_xmlLastError
|
102
|
+
#undef nl_xmlParserInputBufferCreateFilenameValue
|
103
|
+
#undef nl_xmlOutputBufferCreateFilenameValue
|
104
104
|
|
105
105
|
/**
|
106
106
|
* xmlRegisterNodeFunc:
|
@@ -121,50 +121,50 @@ typedef struct _xmlGlobalState xmlGlobalState;
|
|
121
121
|
typedef xmlGlobalState *xmlGlobalStatePtr;
|
122
122
|
struct _xmlGlobalState
|
123
123
|
{
|
124
|
-
const char *
|
124
|
+
const char *nl_xmlParserVersion;
|
125
125
|
|
126
|
-
xmlSAXLocator
|
126
|
+
xmlSAXLocator nl_xmlDefaultSAXLocator;
|
127
127
|
xmlSAXHandlerV1 xmlDefaultSAXHandler;
|
128
128
|
xmlSAXHandlerV1 docbDefaultSAXHandler; /* unused */
|
129
129
|
xmlSAXHandlerV1 htmlDefaultSAXHandler;
|
130
130
|
|
131
|
-
xmlFreeFunc
|
132
|
-
xmlMallocFunc
|
133
|
-
xmlStrdupFunc
|
134
|
-
xmlReallocFunc
|
131
|
+
xmlFreeFunc nl_xmlFree;
|
132
|
+
xmlMallocFunc nl_xmlMalloc;
|
133
|
+
xmlStrdupFunc nl_xmlMemStrdup;
|
134
|
+
xmlReallocFunc nl_xmlRealloc;
|
135
135
|
|
136
|
-
xmlGenericErrorFunc
|
137
|
-
xmlStructuredErrorFunc
|
138
|
-
void *
|
136
|
+
xmlGenericErrorFunc nl_xmlGenericError;
|
137
|
+
xmlStructuredErrorFunc nl_xmlStructuredError;
|
138
|
+
void *nl_xmlGenericErrorContext;
|
139
139
|
|
140
|
-
int
|
140
|
+
int nl_oldXMLWDcompatibility;
|
141
141
|
|
142
|
-
xmlBufferAllocationScheme
|
143
|
-
int
|
142
|
+
xmlBufferAllocationScheme nl_xmlBufferAllocScheme;
|
143
|
+
int nl_xmlDefaultBufferSize;
|
144
144
|
|
145
|
-
int
|
146
|
-
int
|
147
|
-
int
|
148
|
-
int
|
149
|
-
int
|
150
|
-
int
|
151
|
-
int
|
152
|
-
int
|
145
|
+
int nl_xmlSubstituteEntitiesDefaultValue;
|
146
|
+
int nl_xmlDoValidityCheckingDefaultValue;
|
147
|
+
int nl_xmlGetWarningsDefaultValue;
|
148
|
+
int nl_xmlKeepBlanksDefaultValue;
|
149
|
+
int nl_xmlLineNumbersDefaultValue;
|
150
|
+
int nl_xmlLoadExtDtdDefaultValue;
|
151
|
+
int nl_xmlParserDebugEntities;
|
152
|
+
int nl_xmlPedanticParserDefaultValue;
|
153
153
|
|
154
|
-
int
|
155
|
-
int
|
156
|
-
const char *
|
154
|
+
int nl_xmlSaveNoEmptyTags;
|
155
|
+
int nl_xmlIndentTreeOutput;
|
156
|
+
const char *nl_xmlTreeIndentString;
|
157
157
|
|
158
|
-
xmlRegisterNodeFunc
|
159
|
-
xmlDeregisterNodeFunc
|
158
|
+
xmlRegisterNodeFunc nl_xmlRegisterNodeDefaultValue;
|
159
|
+
xmlDeregisterNodeFunc nl_xmlDeregisterNodeDefaultValue;
|
160
160
|
|
161
|
-
xmlMallocFunc
|
162
|
-
xmlError
|
161
|
+
xmlMallocFunc nl_xmlMallocAtomic;
|
162
|
+
xmlError nl_xmlLastError;
|
163
163
|
|
164
|
-
xmlParserInputBufferCreateFilenameFunc
|
165
|
-
xmlOutputBufferCreateFilenameFunc
|
164
|
+
xmlParserInputBufferCreateFilenameFunc nl_xmlParserInputBufferCreateFilenameValue;
|
165
|
+
xmlOutputBufferCreateFilenameFunc nl_xmlOutputBufferCreateFilenameValue;
|
166
166
|
|
167
|
-
void *
|
167
|
+
void *nl_xmlStructuredErrorContext;
|
168
168
|
};
|
169
169
|
|
170
170
|
#ifdef __cplusplus
|
@@ -175,16 +175,16 @@ struct _xmlGlobalState
|
|
175
175
|
extern "C" {
|
176
176
|
#endif
|
177
177
|
|
178
|
-
XMLPUBFUN void XMLCALL
|
178
|
+
XMLPUBFUN void XMLCALL nl_xmlInitializeGlobalState(xmlGlobalStatePtr gs);
|
179
179
|
|
180
|
-
XMLPUBFUN void XMLCALL
|
180
|
+
XMLPUBFUN void XMLCALL nl_xmlThrDefSetGenericErrorFunc(void *ctx, xmlGenericErrorFunc handler);
|
181
181
|
|
182
|
-
XMLPUBFUN void XMLCALL
|
182
|
+
XMLPUBFUN void XMLCALL nl_xmlThrDefSetStructuredErrorFunc(void *ctx, xmlStructuredErrorFunc handler);
|
183
183
|
|
184
|
-
XMLPUBFUN xmlRegisterNodeFunc XMLCALL
|
185
|
-
XMLPUBFUN xmlRegisterNodeFunc XMLCALL
|
186
|
-
XMLPUBFUN xmlDeregisterNodeFunc XMLCALL
|
187
|
-
XMLPUBFUN xmlDeregisterNodeFunc XMLCALL
|
184
|
+
XMLPUBFUN xmlRegisterNodeFunc XMLCALL nl_xmlRegisterNodeDefault(xmlRegisterNodeFunc func);
|
185
|
+
XMLPUBFUN xmlRegisterNodeFunc XMLCALL nl_xmlThrDefRegisterNodeDefault(xmlRegisterNodeFunc func);
|
186
|
+
XMLPUBFUN xmlDeregisterNodeFunc XMLCALL nl_xmlDeregisterNodeDefault(xmlDeregisterNodeFunc func);
|
187
|
+
XMLPUBFUN xmlDeregisterNodeFunc XMLCALL nl_xmlThrDefDeregisterNodeDefault(xmlDeregisterNodeFunc func);
|
188
188
|
|
189
189
|
XMLPUBFUN xmlOutputBufferCreateFilenameFunc XMLCALL
|
190
190
|
xmlThrDefOutputBufferCreateFilenameDefault(xmlOutputBufferCreateFilenameFunc func);
|
@@ -195,11 +195,11 @@ XMLPUBFUN xmlParserInputBufferCreateFilenameFunc XMLCALL
|
|
195
195
|
/*
|
196
196
|
* In general the memory allocation entry points are not kept
|
197
197
|
* thread specific but this can be overridden by LIBXML_THREAD_ALLOC_ENABLED
|
198
|
-
* -
|
199
|
-
* -
|
200
|
-
* -
|
201
|
-
* -
|
202
|
-
* -
|
198
|
+
* - nl_xmlMalloc
|
199
|
+
* - nl_xmlMallocAtomic
|
200
|
+
* - nl_xmlRealloc
|
201
|
+
* - nl_xmlMemStrdup
|
202
|
+
* - nl_xmlFree
|
203
203
|
*/
|
204
204
|
|
205
205
|
#ifdef LIBXML_THREAD_ALLOC_ENABLED
|
@@ -207,51 +207,51 @@ XMLPUBFUN xmlParserInputBufferCreateFilenameFunc XMLCALL
|
|
207
207
|
|
208
208
|
#ifdef LIBXML_THREAD_ENABLED
|
209
209
|
XMLPUBFUN xmlMallocFunc * XMLCALL __xmlMalloc(void);
|
210
|
-
#define
|
210
|
+
#define nl_xmlMalloc \
|
211
211
|
(*(__xmlMalloc()))
|
212
212
|
#else
|
213
|
-
XMLPUBVAR xmlMallocFunc
|
213
|
+
XMLPUBVAR xmlMallocFunc nl_xmlMalloc;
|
214
214
|
#endif
|
215
215
|
|
216
216
|
#ifdef LIBXML_THREAD_ENABLED
|
217
217
|
XMLPUBFUN xmlMallocFunc * XMLCALL __xmlMallocAtomic(void);
|
218
|
-
#define
|
218
|
+
#define nl_xmlMallocAtomic \
|
219
219
|
(*(__xmlMallocAtomic()))
|
220
220
|
#else
|
221
|
-
XMLPUBVAR xmlMallocFunc
|
221
|
+
XMLPUBVAR xmlMallocFunc nl_xmlMallocAtomic;
|
222
222
|
#endif
|
223
223
|
|
224
224
|
#ifdef LIBXML_THREAD_ENABLED
|
225
225
|
XMLPUBFUN xmlReallocFunc * XMLCALL __xmlRealloc(void);
|
226
|
-
#define
|
226
|
+
#define nl_xmlRealloc \
|
227
227
|
(*(__xmlRealloc()))
|
228
228
|
#else
|
229
|
-
XMLPUBVAR xmlReallocFunc
|
229
|
+
XMLPUBVAR xmlReallocFunc nl_xmlRealloc;
|
230
230
|
#endif
|
231
231
|
|
232
232
|
#ifdef LIBXML_THREAD_ENABLED
|
233
233
|
XMLPUBFUN xmlFreeFunc * XMLCALL __xmlFree(void);
|
234
|
-
#define
|
234
|
+
#define nl_xmlFree \
|
235
235
|
(*(__xmlFree()))
|
236
236
|
#else
|
237
|
-
XMLPUBVAR xmlFreeFunc
|
237
|
+
XMLPUBVAR xmlFreeFunc nl_xmlFree;
|
238
238
|
#endif
|
239
239
|
|
240
240
|
#ifdef LIBXML_THREAD_ENABLED
|
241
241
|
XMLPUBFUN xmlStrdupFunc * XMLCALL __xmlMemStrdup(void);
|
242
|
-
#define
|
242
|
+
#define nl_xmlMemStrdup \
|
243
243
|
(*(__xmlMemStrdup()))
|
244
244
|
#else
|
245
|
-
XMLPUBVAR xmlStrdupFunc
|
245
|
+
XMLPUBVAR xmlStrdupFunc nl_xmlMemStrdup;
|
246
246
|
#endif
|
247
247
|
|
248
248
|
/** DOC_ENABLE */
|
249
249
|
#else /* !LIBXML_THREAD_ALLOC_ENABLED */
|
250
|
-
XMLPUBVAR xmlMallocFunc
|
251
|
-
XMLPUBVAR xmlMallocFunc
|
252
|
-
XMLPUBVAR xmlReallocFunc
|
253
|
-
XMLPUBVAR xmlFreeFunc
|
254
|
-
XMLPUBVAR xmlStrdupFunc
|
250
|
+
XMLPUBVAR xmlMallocFunc nl_xmlMalloc;
|
251
|
+
XMLPUBVAR xmlMallocFunc nl_xmlMallocAtomic;
|
252
|
+
XMLPUBVAR xmlReallocFunc nl_xmlRealloc;
|
253
|
+
XMLPUBVAR xmlFreeFunc nl_xmlFree;
|
254
|
+
XMLPUBVAR xmlStrdupFunc nl_xmlMemStrdup;
|
255
255
|
#endif /* LIBXML_THREAD_ALLOC_ENABLED */
|
256
256
|
|
257
257
|
#ifdef LIBXML_HTML_ENABLED
|
@@ -266,12 +266,12 @@ XMLPUBVAR xmlSAXHandlerV1 htmlDefaultSAXHandler;
|
|
266
266
|
#endif
|
267
267
|
#endif
|
268
268
|
|
269
|
-
XMLPUBFUN xmlError * XMLCALL
|
269
|
+
XMLPUBFUN xmlError * XMLCALL __nl_xmlLastError(void);
|
270
270
|
#ifdef LIBXML_THREAD_ENABLED
|
271
|
-
#define
|
272
|
-
(*(
|
271
|
+
#define nl_xmlLastError \
|
272
|
+
(*(__nl_xmlLastError()))
|
273
273
|
#else
|
274
|
-
XMLPUBVAR xmlError
|
274
|
+
XMLPUBVAR xmlError nl_xmlLastError;
|
275
275
|
#endif
|
276
276
|
|
277
277
|
/*
|
@@ -282,39 +282,39 @@ XMLPUBVAR xmlError xmlLastError;
|
|
282
282
|
|
283
283
|
|
284
284
|
XML_DEPRECATED
|
285
|
-
XMLPUBFUN int * XMLCALL
|
285
|
+
XMLPUBFUN int * XMLCALL __nl_oldXMLWDcompatibility(void);
|
286
286
|
#ifdef LIBXML_THREAD_ENABLED
|
287
|
-
#define
|
288
|
-
(*(
|
287
|
+
#define nl_oldXMLWDcompatibility \
|
288
|
+
(*(__nl_oldXMLWDcompatibility()))
|
289
289
|
#else
|
290
290
|
XML_DEPRECATED
|
291
|
-
XMLPUBVAR int
|
291
|
+
XMLPUBVAR int nl_oldXMLWDcompatibility;
|
292
292
|
#endif
|
293
293
|
|
294
294
|
XML_DEPRECATED
|
295
|
-
XMLPUBFUN xmlBufferAllocationScheme * XMLCALL
|
295
|
+
XMLPUBFUN xmlBufferAllocationScheme * XMLCALL __nl_xmlBufferAllocScheme(void);
|
296
296
|
#ifdef LIBXML_THREAD_ENABLED
|
297
|
-
#define
|
298
|
-
(*(
|
297
|
+
#define nl_xmlBufferAllocScheme \
|
298
|
+
(*(__nl_xmlBufferAllocScheme()))
|
299
299
|
#else
|
300
300
|
XML_DEPRECATED
|
301
|
-
XMLPUBVAR xmlBufferAllocationScheme
|
301
|
+
XMLPUBVAR xmlBufferAllocationScheme nl_xmlBufferAllocScheme;
|
302
302
|
#endif
|
303
303
|
XML_DEPRECATED
|
304
304
|
XMLPUBFUN xmlBufferAllocationScheme XMLCALL
|
305
|
-
|
305
|
+
nl_xmlThrDefBufferAllocScheme(xmlBufferAllocationScheme v);
|
306
306
|
|
307
307
|
XML_DEPRECATED
|
308
|
-
XMLPUBFUN int * XMLCALL
|
308
|
+
XMLPUBFUN int * XMLCALL __nl_xmlDefaultBufferSize(void);
|
309
309
|
#ifdef LIBXML_THREAD_ENABLED
|
310
|
-
#define
|
311
|
-
(*(
|
310
|
+
#define nl_xmlDefaultBufferSize \
|
311
|
+
(*(__nl_xmlDefaultBufferSize()))
|
312
312
|
#else
|
313
313
|
XML_DEPRECATED
|
314
|
-
XMLPUBVAR int
|
314
|
+
XMLPUBVAR int nl_xmlDefaultBufferSize;
|
315
315
|
#endif
|
316
316
|
XML_DEPRECATED
|
317
|
-
XMLPUBFUN int XMLCALL
|
317
|
+
XMLPUBFUN int XMLCALL nl_xmlThrDefDefaultBufferSize(int v);
|
318
318
|
|
319
319
|
XML_DEPRECATED
|
320
320
|
XMLPUBFUN xmlSAXHandlerV1 * XMLCALL __xmlDefaultSAXHandler(void);
|
@@ -327,199 +327,199 @@ XMLPUBVAR xmlSAXHandlerV1 xmlDefaultSAXHandler;
|
|
327
327
|
#endif
|
328
328
|
|
329
329
|
XML_DEPRECATED
|
330
|
-
XMLPUBFUN xmlSAXLocator * XMLCALL
|
330
|
+
XMLPUBFUN xmlSAXLocator * XMLCALL __nl_xmlDefaultSAXLocator(void);
|
331
331
|
#ifdef LIBXML_THREAD_ENABLED
|
332
|
-
#define
|
333
|
-
(*(
|
332
|
+
#define nl_xmlDefaultSAXLocator \
|
333
|
+
(*(__nl_xmlDefaultSAXLocator()))
|
334
334
|
#else
|
335
335
|
XML_DEPRECATED
|
336
|
-
XMLPUBVAR xmlSAXLocator
|
336
|
+
XMLPUBVAR xmlSAXLocator nl_xmlDefaultSAXLocator;
|
337
337
|
#endif
|
338
338
|
|
339
|
-
XMLPUBFUN int * XMLCALL
|
339
|
+
XMLPUBFUN int * XMLCALL __nl_xmlDoValidityCheckingDefaultValue(void);
|
340
340
|
#ifdef LIBXML_THREAD_ENABLED
|
341
|
-
#define
|
342
|
-
(*(
|
341
|
+
#define nl_xmlDoValidityCheckingDefaultValue \
|
342
|
+
(*(__nl_xmlDoValidityCheckingDefaultValue()))
|
343
343
|
#else
|
344
|
-
XMLPUBVAR int
|
344
|
+
XMLPUBVAR int nl_xmlDoValidityCheckingDefaultValue;
|
345
345
|
#endif
|
346
|
-
XMLPUBFUN int XMLCALL
|
346
|
+
XMLPUBFUN int XMLCALL nl_xmlThrDefDoValidityCheckingDefaultValue(int v);
|
347
347
|
|
348
|
-
XMLPUBFUN xmlGenericErrorFunc * XMLCALL
|
348
|
+
XMLPUBFUN xmlGenericErrorFunc * XMLCALL __nl_xmlGenericError(void);
|
349
349
|
#ifdef LIBXML_THREAD_ENABLED
|
350
|
-
#define
|
351
|
-
(*(
|
350
|
+
#define nl_xmlGenericError \
|
351
|
+
(*(__nl_xmlGenericError()))
|
352
352
|
#else
|
353
|
-
XMLPUBVAR xmlGenericErrorFunc
|
353
|
+
XMLPUBVAR xmlGenericErrorFunc nl_xmlGenericError;
|
354
354
|
#endif
|
355
355
|
|
356
|
-
XMLPUBFUN xmlStructuredErrorFunc * XMLCALL
|
356
|
+
XMLPUBFUN xmlStructuredErrorFunc * XMLCALL __nl_xmlStructuredError(void);
|
357
357
|
#ifdef LIBXML_THREAD_ENABLED
|
358
|
-
#define
|
359
|
-
(*(
|
358
|
+
#define nl_xmlStructuredError \
|
359
|
+
(*(__nl_xmlStructuredError()))
|
360
360
|
#else
|
361
|
-
XMLPUBVAR xmlStructuredErrorFunc
|
361
|
+
XMLPUBVAR xmlStructuredErrorFunc nl_xmlStructuredError;
|
362
362
|
#endif
|
363
363
|
|
364
|
-
XMLPUBFUN void * * XMLCALL
|
364
|
+
XMLPUBFUN void * * XMLCALL __nl_xmlGenericErrorContext(void);
|
365
365
|
#ifdef LIBXML_THREAD_ENABLED
|
366
|
-
#define
|
367
|
-
(*(
|
366
|
+
#define nl_xmlGenericErrorContext \
|
367
|
+
(*(__nl_xmlGenericErrorContext()))
|
368
368
|
#else
|
369
|
-
XMLPUBVAR void *
|
369
|
+
XMLPUBVAR void * nl_xmlGenericErrorContext;
|
370
370
|
#endif
|
371
371
|
|
372
|
-
XMLPUBFUN void * * XMLCALL
|
372
|
+
XMLPUBFUN void * * XMLCALL __nl_xmlStructuredErrorContext(void);
|
373
373
|
#ifdef LIBXML_THREAD_ENABLED
|
374
|
-
#define
|
375
|
-
(*(
|
374
|
+
#define nl_xmlStructuredErrorContext \
|
375
|
+
(*(__nl_xmlStructuredErrorContext()))
|
376
376
|
#else
|
377
|
-
XMLPUBVAR void *
|
377
|
+
XMLPUBVAR void * nl_xmlStructuredErrorContext;
|
378
378
|
#endif
|
379
379
|
|
380
|
-
XMLPUBFUN int * XMLCALL
|
380
|
+
XMLPUBFUN int * XMLCALL __nl_xmlGetWarningsDefaultValue(void);
|
381
381
|
#ifdef LIBXML_THREAD_ENABLED
|
382
|
-
#define
|
383
|
-
(*(
|
382
|
+
#define nl_xmlGetWarningsDefaultValue \
|
383
|
+
(*(__nl_xmlGetWarningsDefaultValue()))
|
384
384
|
#else
|
385
|
-
XMLPUBVAR int
|
385
|
+
XMLPUBVAR int nl_xmlGetWarningsDefaultValue;
|
386
386
|
#endif
|
387
|
-
XMLPUBFUN int XMLCALL
|
387
|
+
XMLPUBFUN int XMLCALL nl_xmlThrDefGetWarningsDefaultValue(int v);
|
388
388
|
|
389
|
-
XMLPUBFUN int * XMLCALL
|
389
|
+
XMLPUBFUN int * XMLCALL __nl_xmlIndentTreeOutput(void);
|
390
390
|
#ifdef LIBXML_THREAD_ENABLED
|
391
|
-
#define
|
392
|
-
(*(
|
391
|
+
#define nl_xmlIndentTreeOutput \
|
392
|
+
(*(__nl_xmlIndentTreeOutput()))
|
393
393
|
#else
|
394
|
-
XMLPUBVAR int
|
394
|
+
XMLPUBVAR int nl_xmlIndentTreeOutput;
|
395
395
|
#endif
|
396
|
-
XMLPUBFUN int XMLCALL
|
396
|
+
XMLPUBFUN int XMLCALL nl_xmlThrDefIndentTreeOutput(int v);
|
397
397
|
|
398
|
-
XMLPUBFUN const char * * XMLCALL
|
398
|
+
XMLPUBFUN const char * * XMLCALL __nl_xmlTreeIndentString(void);
|
399
399
|
#ifdef LIBXML_THREAD_ENABLED
|
400
|
-
#define
|
401
|
-
(*(
|
400
|
+
#define nl_xmlTreeIndentString \
|
401
|
+
(*(__nl_xmlTreeIndentString()))
|
402
402
|
#else
|
403
|
-
XMLPUBVAR const char *
|
403
|
+
XMLPUBVAR const char * nl_xmlTreeIndentString;
|
404
404
|
#endif
|
405
|
-
XMLPUBFUN const char * XMLCALL
|
405
|
+
XMLPUBFUN const char * XMLCALL nl_xmlThrDefTreeIndentString(const char * v);
|
406
406
|
|
407
|
-
XMLPUBFUN int * XMLCALL
|
407
|
+
XMLPUBFUN int * XMLCALL __nl_xmlKeepBlanksDefaultValue(void);
|
408
408
|
#ifdef LIBXML_THREAD_ENABLED
|
409
|
-
#define
|
410
|
-
(*(
|
409
|
+
#define nl_xmlKeepBlanksDefaultValue \
|
410
|
+
(*(__nl_xmlKeepBlanksDefaultValue()))
|
411
411
|
#else
|
412
|
-
XMLPUBVAR int
|
412
|
+
XMLPUBVAR int nl_xmlKeepBlanksDefaultValue;
|
413
413
|
#endif
|
414
|
-
XMLPUBFUN int XMLCALL
|
414
|
+
XMLPUBFUN int XMLCALL nl_xmlThrDefKeepBlanksDefaultValue(int v);
|
415
415
|
|
416
416
|
XML_DEPRECATED
|
417
|
-
XMLPUBFUN int * XMLCALL
|
417
|
+
XMLPUBFUN int * XMLCALL __nl_xmlLineNumbersDefaultValue(void);
|
418
418
|
#ifdef LIBXML_THREAD_ENABLED
|
419
|
-
#define
|
420
|
-
(*(
|
419
|
+
#define nl_xmlLineNumbersDefaultValue \
|
420
|
+
(*(__nl_xmlLineNumbersDefaultValue()))
|
421
421
|
#else
|
422
422
|
XML_DEPRECATED
|
423
|
-
XMLPUBVAR int
|
423
|
+
XMLPUBVAR int nl_xmlLineNumbersDefaultValue;
|
424
424
|
#endif
|
425
425
|
XML_DEPRECATED
|
426
|
-
XMLPUBFUN int XMLCALL
|
426
|
+
XMLPUBFUN int XMLCALL nl_xmlThrDefLineNumbersDefaultValue(int v);
|
427
427
|
|
428
|
-
XMLPUBFUN int * XMLCALL
|
428
|
+
XMLPUBFUN int * XMLCALL __nl_xmlLoadExtDtdDefaultValue(void);
|
429
429
|
#ifdef LIBXML_THREAD_ENABLED
|
430
|
-
#define
|
431
|
-
(*(
|
430
|
+
#define nl_xmlLoadExtDtdDefaultValue \
|
431
|
+
(*(__nl_xmlLoadExtDtdDefaultValue()))
|
432
432
|
#else
|
433
|
-
XMLPUBVAR int
|
433
|
+
XMLPUBVAR int nl_xmlLoadExtDtdDefaultValue;
|
434
434
|
#endif
|
435
|
-
XMLPUBFUN int XMLCALL
|
435
|
+
XMLPUBFUN int XMLCALL nl_xmlThrDefLoadExtDtdDefaultValue(int v);
|
436
436
|
|
437
|
-
XMLPUBFUN int * XMLCALL
|
437
|
+
XMLPUBFUN int * XMLCALL __nl_xmlParserDebugEntities(void);
|
438
438
|
#ifdef LIBXML_THREAD_ENABLED
|
439
|
-
#define
|
440
|
-
(*(
|
439
|
+
#define nl_xmlParserDebugEntities \
|
440
|
+
(*(__nl_xmlParserDebugEntities()))
|
441
441
|
#else
|
442
|
-
XMLPUBVAR int
|
442
|
+
XMLPUBVAR int nl_xmlParserDebugEntities;
|
443
443
|
#endif
|
444
|
-
XMLPUBFUN int XMLCALL
|
444
|
+
XMLPUBFUN int XMLCALL nl_xmlThrDefParserDebugEntities(int v);
|
445
445
|
|
446
|
-
XMLPUBFUN const char * * XMLCALL
|
446
|
+
XMLPUBFUN const char * * XMLCALL __nl_xmlParserVersion(void);
|
447
447
|
#ifdef LIBXML_THREAD_ENABLED
|
448
|
-
#define
|
449
|
-
(*(
|
448
|
+
#define nl_xmlParserVersion \
|
449
|
+
(*(__nl_xmlParserVersion()))
|
450
450
|
#else
|
451
|
-
XMLPUBVAR const char *
|
451
|
+
XMLPUBVAR const char * nl_xmlParserVersion;
|
452
452
|
#endif
|
453
453
|
|
454
454
|
XML_DEPRECATED
|
455
|
-
XMLPUBFUN int * XMLCALL
|
455
|
+
XMLPUBFUN int * XMLCALL __nl_xmlPedanticParserDefaultValue(void);
|
456
456
|
#ifdef LIBXML_THREAD_ENABLED
|
457
|
-
#define
|
458
|
-
(*(
|
457
|
+
#define nl_xmlPedanticParserDefaultValue \
|
458
|
+
(*(__nl_xmlPedanticParserDefaultValue()))
|
459
459
|
#else
|
460
460
|
XML_DEPRECATED
|
461
|
-
XMLPUBVAR int
|
461
|
+
XMLPUBVAR int nl_xmlPedanticParserDefaultValue;
|
462
462
|
#endif
|
463
463
|
XML_DEPRECATED
|
464
|
-
XMLPUBFUN int XMLCALL
|
464
|
+
XMLPUBFUN int XMLCALL nl_xmlThrDefPedanticParserDefaultValue(int v);
|
465
465
|
|
466
|
-
XMLPUBFUN int * XMLCALL
|
466
|
+
XMLPUBFUN int * XMLCALL __nl_xmlSaveNoEmptyTags(void);
|
467
467
|
#ifdef LIBXML_THREAD_ENABLED
|
468
|
-
#define
|
469
|
-
(*(
|
468
|
+
#define nl_xmlSaveNoEmptyTags \
|
469
|
+
(*(__nl_xmlSaveNoEmptyTags()))
|
470
470
|
#else
|
471
|
-
XMLPUBVAR int
|
471
|
+
XMLPUBVAR int nl_xmlSaveNoEmptyTags;
|
472
472
|
#endif
|
473
|
-
XMLPUBFUN int XMLCALL
|
473
|
+
XMLPUBFUN int XMLCALL nl_xmlThrDefSaveNoEmptyTags(int v);
|
474
474
|
|
475
|
-
XMLPUBFUN int * XMLCALL
|
475
|
+
XMLPUBFUN int * XMLCALL __nl_xmlSubstituteEntitiesDefaultValue(void);
|
476
476
|
#ifdef LIBXML_THREAD_ENABLED
|
477
|
-
#define
|
478
|
-
(*(
|
477
|
+
#define nl_xmlSubstituteEntitiesDefaultValue \
|
478
|
+
(*(__nl_xmlSubstituteEntitiesDefaultValue()))
|
479
479
|
#else
|
480
|
-
XMLPUBVAR int
|
480
|
+
XMLPUBVAR int nl_xmlSubstituteEntitiesDefaultValue;
|
481
481
|
#endif
|
482
|
-
XMLPUBFUN int XMLCALL
|
482
|
+
XMLPUBFUN int XMLCALL nl_xmlThrDefSubstituteEntitiesDefaultValue(int v);
|
483
483
|
|
484
484
|
XML_DEPRECATED
|
485
|
-
XMLPUBFUN xmlRegisterNodeFunc * XMLCALL
|
485
|
+
XMLPUBFUN xmlRegisterNodeFunc * XMLCALL __nl_xmlRegisterNodeDefaultValue(void);
|
486
486
|
#ifdef LIBXML_THREAD_ENABLED
|
487
|
-
#define
|
488
|
-
(*(
|
487
|
+
#define nl_xmlRegisterNodeDefaultValue \
|
488
|
+
(*(__nl_xmlRegisterNodeDefaultValue()))
|
489
489
|
#else
|
490
490
|
XML_DEPRECATED
|
491
|
-
XMLPUBVAR xmlRegisterNodeFunc
|
491
|
+
XMLPUBVAR xmlRegisterNodeFunc nl_xmlRegisterNodeDefaultValue;
|
492
492
|
#endif
|
493
493
|
|
494
494
|
XML_DEPRECATED
|
495
|
-
XMLPUBFUN xmlDeregisterNodeFunc * XMLCALL
|
495
|
+
XMLPUBFUN xmlDeregisterNodeFunc * XMLCALL __nl_xmlDeregisterNodeDefaultValue(void);
|
496
496
|
#ifdef LIBXML_THREAD_ENABLED
|
497
|
-
#define
|
498
|
-
(*(
|
497
|
+
#define nl_xmlDeregisterNodeDefaultValue \
|
498
|
+
(*(__nl_xmlDeregisterNodeDefaultValue()))
|
499
499
|
#else
|
500
500
|
XML_DEPRECATED
|
501
|
-
XMLPUBVAR xmlDeregisterNodeFunc
|
501
|
+
XMLPUBVAR xmlDeregisterNodeFunc nl_xmlDeregisterNodeDefaultValue;
|
502
502
|
#endif
|
503
503
|
|
504
504
|
XML_DEPRECATED
|
505
505
|
XMLPUBFUN xmlParserInputBufferCreateFilenameFunc * XMLCALL \
|
506
|
-
|
506
|
+
__nl_xmlParserInputBufferCreateFilenameValue(void);
|
507
507
|
#ifdef LIBXML_THREAD_ENABLED
|
508
|
-
#define
|
509
|
-
(*(
|
508
|
+
#define nl_xmlParserInputBufferCreateFilenameValue \
|
509
|
+
(*(__nl_xmlParserInputBufferCreateFilenameValue()))
|
510
510
|
#else
|
511
511
|
XML_DEPRECATED
|
512
|
-
XMLPUBVAR xmlParserInputBufferCreateFilenameFunc
|
512
|
+
XMLPUBVAR xmlParserInputBufferCreateFilenameFunc nl_xmlParserInputBufferCreateFilenameValue;
|
513
513
|
#endif
|
514
514
|
|
515
515
|
XML_DEPRECATED
|
516
|
-
XMLPUBFUN xmlOutputBufferCreateFilenameFunc * XMLCALL
|
516
|
+
XMLPUBFUN xmlOutputBufferCreateFilenameFunc * XMLCALL __nl_xmlOutputBufferCreateFilenameValue(void);
|
517
517
|
#ifdef LIBXML_THREAD_ENABLED
|
518
|
-
#define
|
519
|
-
(*(
|
518
|
+
#define nl_xmlOutputBufferCreateFilenameValue \
|
519
|
+
(*(__nl_xmlOutputBufferCreateFilenameValue()))
|
520
520
|
#else
|
521
521
|
XML_DEPRECATED
|
522
|
-
XMLPUBVAR xmlOutputBufferCreateFilenameFunc
|
522
|
+
XMLPUBVAR xmlOutputBufferCreateFilenameFunc nl_xmlOutputBufferCreateFilenameValue;
|
523
523
|
#endif
|
524
524
|
|
525
525
|
#ifdef __cplusplus
|