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.
6 * The bottom of this file is automatically generated by build_glob.py
7 * based on the description file global.data
9 * Copy: See Copyright for the status of this software.
11 * Author: Gary Pennington <Gary.Pennington@uk.sun.com>, Daniel Veillard
12 * Portion Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
23 #ifdef XE_ENABLE_GS_CACHING
24 /* This feature is enabled/disabled by defining/removing XE_ENABLE_GS_CACHING macro in libxml2 mmp file.
25 When enabled, it allows to use cached GS (global state) pointer from xmlDoc and xmlParserCtxt objects
26 in libxml2. This improves the overall performance (depending on usecase, dom parsing is improved sigificantly)
27 since it avoids most of Dll::Tls() calls for accessing each member in GS data structure.
29 NOTE: When GS pointer caching is enabled, always ensure that GS proxy variable is initialized
30 before first access to any GS member. We should ensure more safety in debug builds, like non initialized or NULL
33 #define XE_GS_PROXY_VAR __xe_gs
34 #define DEFINE_GS_PROXY xmlGlobalStatePtr XE_GS_PROXY_VAR;
35 #define SET_GS_PROXY(addr) XE_GS_PROXY_VAR = addr;
36 #define DEFINE_GS_PROXY_AS(addr) xmlGlobalStatePtr XE_GS_PROXY_VAR = addr;
37 #define ASSIGN_GS_DIRECT XE_GS_PROXY_VAR = (xmlGlobalStatePtr)xmlGetGlobalState()
38 #define ASSIGN_GS(var) XE_GS_PROXY_VAR = (xmlGlobalStatePtr)(var->cachedGs)
39 #define LOAD_GS_DIRECT DEFINE_GS_PROXY_AS((xmlGlobalStatePtr)xmlGetGlobalState())
40 #define LOAD_GS(src) DEFINE_GS_PROXY_AS((xmlGlobalStatePtr)(src->cachedGs))
42 #define LOAD_GS_SAFE_CTXT(ctxt) \
45 {ASSIGN_GS(ctxt);} else {ASSIGN_GS_DIRECT;}
47 #define LOAD_GS_SAFE_DOC(doc) \
49 if(doc && (doc->type == XML_DOCUMENT_NODE)) \
50 {ASSIGN_GS(doc);} else {ASSIGN_GS_DIRECT;}
52 #define LOAD_GS_SAFE_NODE(node) \
54 if(node && (node->doc) && (node->doc->type == XML_DOCUMENT_NODE)) \
55 {ASSIGN_GS(node->doc);} else {ASSIGN_GS_DIRECT;}
57 #define LOAD_GS_SAFE_DTD(dtd) \
59 if(dtd && (dtd->doc) && (dtd->doc->type == XML_DOCUMENT_NODE)) \
60 {ASSIGN_GS(dtd->doc);} else {ASSIGN_GS_DIRECT;}
62 #define LOAD_GS_SAFE_ATTR(attr) \
64 if(attr && (attr->doc) && (attr->doc->type == XML_DOCUMENT_NODE)) \
65 {ASSIGN_GS(attr->doc);} else {ASSIGN_GS_DIRECT;}
67 #define LOAD_GS_SAFE_ENT(ent) \
69 if(ent && (ent->doc) && (ent->doc->type == XML_DOCUMENT_NODE)) \
70 {ASSIGN_GS(ent->doc);} else {ASSIGN_GS_DIRECT;}
72 #define LOAD_GS_SAFE_XPATH_PARSER_CTXT(ctxtp) \
74 if(ctxtp && (ctxtp->context) && (ctxtp->context->doc) && (ctxtp->context->doc->type == XML_DOCUMENT_NODE)) \
75 {ASSIGN_GS(ctxtp->context->doc);} else {ASSIGN_GS_DIRECT;}
77 #define LOAD_GS_SAFE_XPATH_CTXT(ctx) \
79 if(ctx && (ctx->doc) && (ctx->doc->type == XML_DOCUMENT_NODE)) \
80 {ASSIGN_GS(ctx->doc);} else {ASSIGN_GS_DIRECT;}
82 #else // Feature is disabled
83 #define XE_GS_PROXY_VAR xmlGetGlobalState()
84 #define DEFINE_GS_PROXY
85 #define SET_GS_PROXY(addr)
86 #define LOAD_GS_DIRECT
88 #define ASSIGN_GS_DIRECT
89 #define ASSIGN_GS(var)
90 #define LOAD_GS_SAFE_CTXT(ctxt)
91 #define LOAD_GS_SAFE_DOC(doc)
92 #define LOAD_GS_SAFE_NODE(node)
93 #define LOAD_GS_SAFE_DTD(dtd)
94 #define LOAD_GS_SAFE_ATTR(attr)
95 #define LOAD_GS_SAFE_ENT(ent)
96 #define LOAD_GS_SAFE_XPATH_PARSER_CTXT(ctxtp)
97 #define LOAD_GS_SAFE_XPATH_CTXT(ctx)
98 #endif //XE_ENABLE_GS_CACHING
100 typedef struct _xmlGlobalState xmlGlobalState;
101 typedef xmlGlobalState *xmlGlobalStatePtr;
103 #include <stdapis/libxml2/libxml2_xmlmemory.h>
104 #include <stdapis/libxml2/libxml2_sax.h>
105 #include <stdapis/libxml2/libxml2_sax2.h>
106 #include <stdapis/libxml2/libxml2_chvalid.h>
108 #ifdef XMLENGINE_XSLT
109 #if defined(XSLT_WIN32_PERFORMANCE_COUNTER) || defined(HAVE_GETTIMEOFDAY)
110 #defined XSLT_PROFILING_ENABLED
118 typedef unsigned int xmlLinAddress;
120 XMLPUBFUN int XMLCALL xmlOOMFlag();
122 XMLPUBFUN void* XMLCALL malloc_impl(size_t size);
124 XMLPUBFUN void* XMLCALL realloc_impl(void *ptr, size_t size);
126 #ifdef LIBXML_XPATH_ENABLED
127 # include "xmlengtriodef.h"
128 # include "xmlengtrionan.h"
129 # include "libxml2_xpathinternals.h"
132 #ifdef LIBXML_CATALOG_ENABLED
133 #include "libxml/libxml2_catalog.h"
137 #ifdef XMLENGINE_XMLSCHEMA_DATATYPES
138 #include <stdapis/libxml2/libxml2_xmlschemasglobals.h>
142 typedef struct _xmlCharEncodingAlias xmlCharEncodingAlias;
143 typedef xmlCharEncodingAlias *xmlCharEncodingAliasPtr;
144 struct _xmlCharEncodingAlias {
149 typedef struct _xmlInputCallback {
150 xmlInputMatchCallback matchcallback;
151 xmlInputOpenCallback opencallback;
152 xmlInputReadCallback readcallback;
153 xmlInputCloseCallback closecallback;
155 #define MAX_INPUT_CALLBACK 15
157 #ifdef LIBXML_OUTPUT_ENABLED
158 typedef struct _xmlOutputCallback {
159 xmlOutputMatchCallback matchcallback;
160 xmlOutputOpenCallback opencallback;
161 xmlOutputWriteCallback writecallback;
162 xmlOutputCloseCallback closecallback;
164 #define MAX_OUTPUT_CALLBACK 15
165 #endif /* LIBXML_OUTPUT_ENABLED */
167 #define xmlThrDefMutex NULL
168 #define xmlInitGlobals()
169 #define xmlCleanupGlobals()
173 * Externally global symbols which need to be protected for backwards
174 * compatibility support.
177 #undef docbDefaultSAXHandler
178 #undef htmlDefaultSAXHandler
179 #undef xmlBufferAllocScheme
180 #undef xmlDefaultBufferSize
181 #undef xmlDefaultSAXHandler
182 #undef xmlDefaultSAXLocator
183 #undef xmlDoValidityCheckingDefaultValue
185 #undef xmlGenericError
186 #undef xmlStructuredError
187 #undef xmlGenericErrorContext
188 #undef xmlGetWarningsDefaultValue
189 #undef xmlIndentTreeOutput
190 #undef xmlTreeIndentString
191 #undef xmlKeepBlanksDefaultValue
192 #undef xmlLineNumbersDefaultValue
193 #undef xmlLoadExtDtdDefaultValue
195 #undef xmlMallocAtomic
197 #undef xmlParserDebugEntities
198 #undef xmlPedanticParserDefaultValue
200 #undef xmlSaveNoEmptyTags
201 #undef xmlSubstituteEntitiesDefaultValue
202 #undef xmlRegisterNodeDefaultValue
203 #undef xmlDeregisterNodeDefaultValue
208 #undef htmlStartCloseIndex
209 #undef htmlStartCloseIndexinitialized
214 #undef xsltExtensionsHash
215 #undef xsltFunctionsHash
216 #undef xsltElementsHash
217 #undef xsltTopLevelsHash
218 #undef xsltDebuggerCurrentCallbacks
220 #undef xsltGlobalsCleanupFunc
222 typedef void (*xmlRegisterNodeFunc) (xmlNodePtr node);
223 typedef void (*xmlDeregisterNodeFunc) (xmlNodePtr node);
226 struct _xmlGlobalState
228 // NOTE: structure fields were reordered comparatively to the original libxml2 source
229 // Most used fields should be in the first 256 bytes of the structure (64 fields)
230 // because on ARM an extra operation is needed for addressing the fields with
232 // Doing this has made size of the DLL 4 KB smaller ! (and faster!)
236 xmlError xmlLastError;
238 DOMStringConverterData xeStringArgs;
241 /* Not used in Symbian: xmlMalloc is malloc_impl(), xmlFree is standard free() now
242 xmlFreeFunc xmlFreeFn;
243 xmlMallocFunc xmlMallocFn;
244 xmlStrdupFunc xmlMemStrdupFn;
245 xmlReallocFunc xmlReallocFn;
246 xmlMallocFunc xmlMallocAtomicFn;
249 xmlGenericErrorFunc xmlGenericError;
250 xmlStructuredErrorFunc xmlStructuredError;
251 void *xmlGenericErrorContext;
253 /* Deafault settings and configuration values */
254 xmlBufferAllocationScheme xmlBufferAllocScheme;
255 int xmlDefaultBufferSize;
256 int xmlSubstituteEntitiesDefaultValue;
257 int xmlDoValidityCheckingDefaultValue;
258 int xmlGetWarningsDefaultValue;
259 int xmlKeepBlanksDefaultValue;
260 int xmlLoadExtDtdDefaultValue;
261 int xmlParserDebugEntities;
262 int xmlPedanticParserDefaultValue;
263 #ifdef LIBXML_ENABLE_NODE_LINEINFO
264 int xmlLineNumbersDefaultValue;
265 #endif // LIBXML_ENABLE_NODE_LINEINFO
266 int xmlSaveNoEmptyTags;
267 int xmlIndentTreeOutput;
269 char *xmlTreeIndentString;
270 xmlExternalEntityLoader xmlCurrentExternalEntityLoader;
272 xmlRegisterNodeFunc xmlRegisterNodeDefaultValue;
273 xmlDeregisterNodeFunc xmlDeregisterNodeDefaultValue;
276 unsigned int xmlParserMaxDepth;
278 int __xmlRegisterCallbacks;
286 double xmlXPathNZERO;
287 int xmlXPathInitialized;
288 #ifndef LIBXML_THREAD_ENABLED
289 int xmlXPathDisableOptimizer;
291 int xmlXPathDefineExtensionFunctionsGlobally;
292 xmlHashTablePtr xmlXPathDefaultFunctionsHash;
293 xmlHashTablePtr xmlXPathIntermediaryExtensionFunctionsHash;
296 xmlCharEncodingHandlerPtr xmlUTF16LEHandler;
297 xmlCharEncodingHandlerPtr xmlUTF16BEHandler;
298 xmlCharEncodingAliasPtr xmlCharEncodingAliases;
299 int xmlCharEncodingAliasesNb;
300 int xmlCharEncodingAliasesMax;
303 xmlCharEncodingHandlerPtr *handlers;
304 int nbCharEncodingHandler;
305 xmlCharEncodingHandlerPtr xmlDefaultCharEncodingHandler;
308 int had_info; /* internal */
310 /* parserInternals */
311 int xmlInputStreamId; /* internal: renamed from "id" to prevent namespace collisions */
314 const char *xmlW3CPIs [2];
315 int xmlParserInitialized;
316 unsigned int xeStackLimit;
319 int xmlSAX2DefaultVersionValue;
322 xmlInputCallback xmlInputCallbackTable[MAX_INPUT_CALLBACK];
323 int xmlInputCallbackNr;
324 int xmlInputCallbackInitialized;
325 #ifdef LIBXML_OUTPUT_ENABLED
326 xmlOutputCallback xmlOutputCallbackTable[MAX_OUTPUT_CALLBACK];
327 int xmlOutputCallbackNr;
328 int xmlOutputCallbackInitialized;
329 #endif /* LIBXML_OUTPUT_ENABLED */
331 #ifdef LIBXML_HTML_ENABLED
333 const char** htmlStartCloseIndex[100];
334 int htmlStartCloseIndexinitialized;
338 /* SAX: old SAX1, and others */
339 xmlSAXLocator xmlDefaultSAXLocator;
340 xmlSAXHandlerV1 xmlDefaultSAXHandler;
341 xmlSAXHandlerV1 docbDefaultSAXHandler;
342 xmlSAXHandlerV1 htmlDefaultSAXHandler;
344 #ifdef LIBXML_XPTR_ENABLED
345 xlinkHandlerPtr xlinkDefaultHandler;
346 xlinkNodeDetectFunc xlinkDefaultDetect;
347 #endif /* LIBXML_XPTR_ENABLED */
349 #ifdef XMLENGINE_XMLSCHEMA_DATATYPES
350 xmlSchemaTypesGlobalDataPtr xmlSchemaTypesGlobals;
351 int xmlSchemaTypesInitialized;
354 #ifdef XMLENGINE_XSLT
355 #ifdef XSLT_PROFILING_ENABLED
356 long g_calibration; // DONE: renamed from 'calibration'
358 void* xsltGlobalsCleanupFunc;
359 xmlHashTablePtr xsltTopLevelsHash;
360 #ifdef XSLT_EXTENSION
361 xmlHashTablePtr xsltExtensionsHash;
362 xmlHashTablePtr xsltFunctionsHash;
363 xmlHashTablePtr xsltElementsHash;
364 //xsltFormatToken default_token;
367 #ifdef XSLT_DEBUG_CALLBACK
368 xsltDebuggerCallbacks xsltDebuggerCurrentCallbacks;
370 #endif /*end of XMLENGINE_XSLT*/
372 #ifdef LIBXML_CATALOG_ENABLED
373 int xmlDebugCatalogs;
374 xmlCatalogAllow xmlCatalogDefaultAllow;
375 xmlCatalogPrefer xmlCatalogDefaultPrefer;
376 xmlHashTablePtr xmlCatalogXMLFiles;
377 xmlCatalogPtr xmlDefaultCatalog;
378 // xmlRMutexPtr xmlCatalogMutex;
379 int xmlCatalogInitialized;
383 int xmlMemInitialized;
384 unsigned long debugMemSize;
385 unsigned long debugMaxMemSize;
386 // xmlMutexPtr xmlMemMutex;
387 unsigned int g_block;
388 unsigned int xmlMemStopAtBlock;
389 void *xmlMemTraceBlockAt;
391 #ifdef XMLENGINE_MEM_DEBUG
403 }; // end of struct _xmlGlobalState
405 #ifdef XMLENGINE_MEM_DEBUG
406 typedef void (*MemSizeFunc)(void*, void*, void*);
413 #include <stdapis/libxml2/libxml2_threads.h>
418 #ifndef UNDEF_IMPORT_C_IN_DATA
419 XMLPUBVAR const char* const xmlTreeIndentString;
420 XMLPUBVAR const char* const xmlParserVersion;
423 XMLPUBFUN void XMLCALL xmlInitializeGlobalState(xmlGlobalStatePtr gs);
424 XMLPUBFUN xmlRegisterNodeFunc XMLCALL xmlRegisterNodeDefault (xmlRegisterNodeFunc func);
425 XMLPUBFUN xmlDeregisterNodeFunc XMLCALL xmlDeregisterNodeDefault(xmlDeregisterNodeFunc func);
427 // NOTE: We can actually use fixed values for memory allocation routines!
429 // Boost the performance! This has saved 2 KB of the code and made it faster
431 #define xmlMalloc malloc_impl
432 #define xmlMallocAtomic malloc_impl
433 #define xmlRealloc realloc_impl
434 #define xmlMemStrdup(p) ((char*)xmlStrdup((const xmlChar*)(p)))
436 #define xmlLastError (XE_GS_PROXY_VAR->xmlLastError)
437 #define xmlBufferAllocScheme (XE_GS_PROXY_VAR->xmlBufferAllocScheme)
438 #define xmlDefaultBufferSize (XE_GS_PROXY_VAR->xmlDefaultBufferSize)
440 #ifdef LIBXML_SAX1_ENABLED
441 #define xmlDefaultSAXHandler (XE_GS_PROXY_VAR->xmlDefaultSAXHandler)
442 #endif /* LIBXML_SAX1_ENABLED */
444 #define xmlDefaultSAXLocator (XE_GS_PROXY_VAR->xmlDefaultSAXLocator)
446 #define xmlDoValidityCheckingDefaultValue (XE_GS_PROXY_VAR->xmlDoValidityCheckingDefaultValue)
447 #define xmlGenericError (xmlGetGlobalState()->xmlGenericError)
448 #define xmlStructuredError (XE_GS_PROXY_VAR->xmlStructuredError)
449 #define xmlGenericErrorContext (xmlGetGlobalState()->xmlGenericErrorContext)
450 #define xmlGetWarningsDefaultValue (XE_GS_PROXY_VAR->xmlGetWarningsDefaultValue)
451 #define xmlIndentTreeOutput (XE_GS_PROXY_VAR->xmlIndentTreeOutput)
452 #define xmlKeepBlanksDefaultValue (XE_GS_PROXY_VAR->xmlKeepBlanksDefaultValue)
453 #define xmlLineNumbersDefaultValue (XE_GS_PROXY_VAR->xmlLineNumbersDefaultValue)
454 #define xmlLoadExtDtdDefaultValue (XE_GS_PROXY_VAR->xmlLoadExtDtdDefaultValue)
455 #define xmlParserDebugEntities (XE_GS_PROXY_VAR->xmlParserDebugEntities)
456 #define xmlPedanticParserDefaultValue (XE_GS_PROXY_VAR->xmlPedanticParserDefaultValue)
457 #define xmlSaveNoEmptyTags (XE_GS_PROXY_VAR->xmlSaveNoEmptyTags)
458 #define xmlSubstituteEntitiesDefaultValue (XE_GS_PROXY_VAR->xmlSubstituteEntitiesDefaultValue)
459 #define xmlRegisterNodeDefaultValue (XE_GS_PROXY_VAR->xmlRegisterNodeDefaultValue)
460 #define xmlDeregisterNodeDefaultValue (XE_GS_PROXY_VAR->xmlDeregisterNodeDefaultValue)
463 #define xmlLibraryLock NULL
465 #define had_info (XE_GS_PROXY_VAR->had_info)
466 #define xmlInputStreamId (XE_GS_PROXY_VAR->xmlInputStreamId)
468 #define xmlUTF16LEHandler (XE_GS_PROXY_VAR->xmlUTF16LEHandler)
469 #define xmlUTF16BEHandler (XE_GS_PROXY_VAR->xmlUTF16BEHandler)
470 #define xmlCharEncodingAliases (XE_GS_PROXY_VAR->xmlCharEncodingAliases)
471 #define xmlCharEncodingAliasesNb (XE_GS_PROXY_VAR->xmlCharEncodingAliasesNb)
472 #define xmlCharEncodingAliasesMax (XE_GS_PROXY_VAR->xmlCharEncodingAliasesMax)
473 #define xmlLittleEndian (XE_GS_PROXY_VAR->xmlLittleEndian)
474 #define handlers (XE_GS_PROXY_VAR->handlers)
475 #define nbCharEncodingHandler (XE_GS_PROXY_VAR->nbCharEncodingHandler)
476 #define xmlDefaultCharEncodingHandler (XE_GS_PROXY_VAR->xmlDefaultCharEncodingHandler)
478 #define xmlParserMaxDepth (XE_GS_PROXY_VAR->xmlParserMaxDepth)
479 #define xmlW3CPIs (XE_GS_PROXY_VAR->xmlW3CPIs)
480 #define xmlParserInitialized (XE_GS_PROXY_VAR->xmlParserInitialized)
481 #define xeStackLimit (XE_GS_PROXY_VAR->xeStackLimit)
483 #define xmlSAX2DefaultVersionValue (XE_GS_PROXY_VAR->xmlSAX2DefaultVersionValue)
485 #define xmlInputCallbackTable (XE_GS_PROXY_VAR->xmlInputCallbackTable)
486 #define xmlInputCallbackNr (XE_GS_PROXY_VAR->xmlInputCallbackNr)
487 #define xmlInputCallbackInitialized (XE_GS_PROXY_VAR->xmlInputCallbackInitialized)
488 #define xmlOutputCallbackTable (XE_GS_PROXY_VAR->xmlOutputCallbackTable)
489 #define xmlOutputCallbackNr (XE_GS_PROXY_VAR->xmlOutputCallbackNr)
490 #define xmlOutputCallbackInitialized (XE_GS_PROXY_VAR->xmlOutputCallbackInitialized)
491 #define xmlCurrentExternalEntityLoader (XE_GS_PROXY_VAR->xmlCurrentExternalEntityLoader)
493 #define xmlMemInitialized (XE_GS_PROXY_VAR->xmlMemInitialized)
494 #define debugMemSize (XE_GS_PROXY_VAR->debugMemSize)
495 #define debugMaxMemSize (XE_GS_PROXY_VAR->debugMaxMemSize)
496 #define xmlMemMutex NULL
497 #define g_block (XE_GS_PROXY_VAR->g_block)
498 #define xmlMemStopAtBlock (XE_GS_PROXY_VAR->xmlMemStopAtBlock)
499 #define xmlMemTraceBlockAt (XE_GS_PROXY_VAR->xmlMemTraceBlockAt)
501 #define __xmlRegisterCallbacks (XE_GS_PROXY_VAR->__xmlRegisterCallbacks)
503 #ifdef LIBXML_TREE_ENABLED
504 # define xmlCompressMode (XE_GS_PROXY_VAR->xmlCompressMode)
505 # define xmlCheckDTD (XE_GS_PROXY_VAR->xmlCheckDTD)
508 #ifdef LIBXML_CATALOG_ENABLED
509 # define xmlDebugCatalogs (XE_GS_PROXY_VAR->xmlDebugCatalogs)
510 # define xmlCatalogDefaultAllow (XE_GS_PROXY_VAR->xmlCatalogDefaultAllow)
511 # define xmlCatalogDefaultPrefer (XE_GS_PROXY_VAR->xmlCatalogDefaultPrefer)
512 # define xmlCatalogXMLFiles (XE_GS_PROXY_VAR->xmlCatalogXMLFiles)
513 # define xmlDefaultCatalog (XE_GS_PROXY_VAR->xmlDefaultCatalog)
514 # define xmlCatalogMutex NULL
515 # define xmlCatalogInitialized (XE_GS_PROXY_VAR->xmlCatalogInitialized)
518 #ifdef LIBXML_HTML_ENABLED
519 # define htmlStartCloseIndex (XE_GS_PROXY_VAR->htmlStartCloseIndex)
520 # define htmlStartCloseIndexinitialized (XE_GS_PROXY_VAR->htmlStartCloseIndexinitialized)
521 # define htmlDefaultSAXHandler (XE_GS_PROXY_VAR->htmlDefaultSAXHandler)
524 #ifdef LIBXML_XPATH_ENABLED
525 # define xmlXPathNAN (XE_GS_PROXY_VAR->xmlXPathNAN)
526 # define xmlXPathPINF (XE_GS_PROXY_VAR->xmlXPathPINF)
527 # define xmlXPathNINF (XE_GS_PROXY_VAR->xmlXPathNINF)
528 # define xmlXPathNZERO (XE_GS_PROXY_VAR->xmlXPathNZERO)
529 # define xmlXPathInitialized (XE_GS_PROXY_VAR->xmlXPathInitialized)
530 # define xmlXPathDefineExtensionFunctionsGlobally (XE_GS_PROXY_VAR->xmlXPathDefineExtensionFunctionsGlobally)
531 # define xmlXPathDefaultFunctionsHash (XE_GS_PROXY_VAR->xmlXPathDefaultFunctionsHash)
532 # define xmlXPathIntermediaryExtensionFunctionsHash (XE_GS_PROXY_VAR->xmlXPathIntermediaryExtensionFunctionsHash)
533 # ifndef LIBXML_THREAD_ENABLED
534 # define xmlXPathDisableOptimizer (XE_GS_PROXY_VAR->xmlXPathDisableOptimizer)
538 #ifdef LIBXML_XPTR_ENABLED
539 # define xlinkDefaultHandler (XE_GS_PROXY_VAR->xlinkDefaultHandler)
540 # define xlinkDefaultDetect (XE_GS_PROXY_VAR->xlinkDefaultDetect)
543 #define xsltGlobalsCleanupFunc (XE_GS_PROXY_VAR->xsltGlobalsCleanupFunc)
545 #define xmlOOM (XE_GS_PROXY_VAR->xmlOOM)
546 #define xeUserCount (XE_GS_PROXY_VAR->xeUserCount)
548 #ifdef XMLENGINE_XMLSCHEMA_DATATYPES
549 # define xmlSchemaTypesGlobals (XE_GS_PROXY_VAR->xmlSchemaTypesGlobals)
550 # define xmlSchemaTypesInitialized (XE_GS_PROXY_VAR->xmlSchemaTypesInitialized)
557 #endif /* XML_GLOBALS_H */