ReactOS 0.4.15-dev-7958-gcd0bb1a
globals.h File Reference
#include <libxml/xmlversion.h>
#include <libxml/parser.h>
#include <libxml/xmlerror.h>
#include <libxml/SAX2.h>
#include <libxml/xmlmemory.h>
#include <libxml/threads.h>
Include dependency graph for globals.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _xmlGlobalState
 

Typedefs

typedef xmlParserInputBufferPtr(* xmlParserInputBufferCreateFilenameFunc) (const char *URI, xmlCharEncoding enc)
 
typedef xmlOutputBufferPtr(* xmlOutputBufferCreateFilenameFunc) (const char *URI, xmlCharEncodingHandlerPtr encoder, int compression)
 
typedef void(* xmlRegisterNodeFunc) (xmlNodePtr node)
 
typedef void(* xmlDeregisterNodeFunc) (xmlNodePtr node)
 
typedef struct _xmlGlobalState xmlGlobalState
 
typedef xmlGlobalStatexmlGlobalStatePtr
 

Functions

XML_DEPRECATED XMLPUBFUN void XMLCALL xmlInitGlobals (void)
 
XML_DEPRECATED XMLPUBFUN void XMLCALL xmlCleanupGlobals (void)
 
XMLPUBFUN xmlParserInputBufferCreateFilenameFunc XMLCALL xmlParserInputBufferCreateFilenameDefault (xmlParserInputBufferCreateFilenameFunc func)
 
XMLPUBFUN xmlOutputBufferCreateFilenameFunc XMLCALL xmlOutputBufferCreateFilenameDefault (xmlOutputBufferCreateFilenameFunc func)
 
XMLPUBFUN void XMLCALL xmlInitializeGlobalState (xmlGlobalStatePtr gs)
 
XMLPUBFUN void XMLCALL xmlThrDefSetGenericErrorFunc (void *ctx, xmlGenericErrorFunc handler)
 
XMLPUBFUN void XMLCALL xmlThrDefSetStructuredErrorFunc (void *ctx, xmlStructuredErrorFunc handler)
 
XMLPUBFUN xmlRegisterNodeFunc XMLCALL xmlRegisterNodeDefault (xmlRegisterNodeFunc func)
 
XMLPUBFUN xmlRegisterNodeFunc XMLCALL xmlThrDefRegisterNodeDefault (xmlRegisterNodeFunc func)
 
XMLPUBFUN xmlDeregisterNodeFunc XMLCALL xmlDeregisterNodeDefault (xmlDeregisterNodeFunc func)
 
XMLPUBFUN xmlDeregisterNodeFunc XMLCALL xmlThrDefDeregisterNodeDefault (xmlDeregisterNodeFunc func)
 
XMLPUBFUN xmlOutputBufferCreateFilenameFunc XMLCALL xmlThrDefOutputBufferCreateFilenameDefault (xmlOutputBufferCreateFilenameFunc func)
 
XMLPUBFUN xmlParserInputBufferCreateFilenameFunc XMLCALL xmlThrDefParserInputBufferCreateFilenameDefault (xmlParserInputBufferCreateFilenameFunc func)
 
XMLPUBFUN xmlError *XMLCALL __xmlLastError (void)
 
XMLPUBFUN int *XMLCALL __oldXMLWDcompatibility (void)
 
XMLPUBFUN xmlBufferAllocationScheme *XMLCALL __xmlBufferAllocScheme (void)
 
XMLPUBFUN xmlBufferAllocationScheme XMLCALL xmlThrDefBufferAllocScheme (xmlBufferAllocationScheme v)
 
XMLPUBFUN int *XMLCALL __xmlDefaultBufferSize (void)
 
XMLPUBFUN int XMLCALL xmlThrDefDefaultBufferSize (int v)
 
XMLPUBFUN xmlSAXHandlerV1 *XMLCALL __xmlDefaultSAXHandler (void)
 
XMLPUBFUN xmlSAXLocator *XMLCALL __xmlDefaultSAXLocator (void)
 
XMLPUBFUN int *XMLCALL __xmlDoValidityCheckingDefaultValue (void)
 
XMLPUBFUN int XMLCALL xmlThrDefDoValidityCheckingDefaultValue (int v)
 
XMLPUBFUN xmlGenericErrorFunc *XMLCALL __xmlGenericError (void)
 
XMLPUBFUN xmlStructuredErrorFunc *XMLCALL __xmlStructuredError (void)
 
XMLPUBFUN void **XMLCALL __xmlGenericErrorContext (void)
 
XMLPUBFUN void **XMLCALL __xmlStructuredErrorContext (void)
 
XMLPUBFUN int *XMLCALL __xmlGetWarningsDefaultValue (void)
 
XMLPUBFUN int XMLCALL xmlThrDefGetWarningsDefaultValue (int v)
 
XMLPUBFUN int *XMLCALL __xmlIndentTreeOutput (void)
 
XMLPUBFUN int XMLCALL xmlThrDefIndentTreeOutput (int v)
 
XMLPUBFUN const char **XMLCALL __xmlTreeIndentString (void)
 
XMLPUBFUN const char *XMLCALL xmlThrDefTreeIndentString (const char *v)
 
XMLPUBFUN int *XMLCALL __xmlKeepBlanksDefaultValue (void)
 
XMLPUBFUN int XMLCALL xmlThrDefKeepBlanksDefaultValue (int v)
 
XMLPUBFUN int *XMLCALL __xmlLineNumbersDefaultValue (void)
 
XMLPUBFUN int XMLCALL xmlThrDefLineNumbersDefaultValue (int v)
 
XMLPUBFUN int *XMLCALL __xmlLoadExtDtdDefaultValue (void)
 
XMLPUBFUN int XMLCALL xmlThrDefLoadExtDtdDefaultValue (int v)
 
XMLPUBFUN int *XMLCALL __xmlParserDebugEntities (void)
 
XMLPUBFUN int XMLCALL xmlThrDefParserDebugEntities (int v)
 
XMLPUBFUN const char **XMLCALL __xmlParserVersion (void)
 
XMLPUBFUN int *XMLCALL __xmlPedanticParserDefaultValue (void)
 
XMLPUBFUN int XMLCALL xmlThrDefPedanticParserDefaultValue (int v)
 
XMLPUBFUN int *XMLCALL __xmlSaveNoEmptyTags (void)
 
XMLPUBFUN int XMLCALL xmlThrDefSaveNoEmptyTags (int v)
 
XMLPUBFUN int *XMLCALL __xmlSubstituteEntitiesDefaultValue (void)
 
XMLPUBFUN int XMLCALL xmlThrDefSubstituteEntitiesDefaultValue (int v)
 
XMLPUBFUN xmlRegisterNodeFunc *XMLCALL __xmlRegisterNodeDefaultValue (void)
 
XMLPUBFUN xmlDeregisterNodeFunc *XMLCALL __xmlDeregisterNodeDefaultValue (void)
 
XMLPUBFUN xmlParserInputBufferCreateFilenameFunc *XMLCALL __xmlParserInputBufferCreateFilenameValue (void)
 
XMLPUBFUN xmlOutputBufferCreateFilenameFunc *XMLCALL __xmlOutputBufferCreateFilenameValue (void)
 

Variables

XMLPUBVAR xmlMallocFunc xmlMalloc
 
XMLPUBVAR xmlMallocFunc xmlMallocAtomic
 
XMLPUBVAR xmlReallocFunc xmlRealloc
 
XMLPUBVAR xmlFreeFunc xmlFree
 
XMLPUBVAR xmlStrdupFunc xmlMemStrdup
 
XMLPUBVAR xmlError xmlLastError
 
XMLPUBVAR int oldXMLWDcompatibility
 
XMLPUBVAR xmlBufferAllocationScheme xmlBufferAllocScheme
 
XMLPUBVAR int xmlDefaultBufferSize
 
XMLPUBVAR xmlSAXHandlerV1 xmlDefaultSAXHandler
 
XMLPUBVAR xmlSAXLocator xmlDefaultSAXLocator
 
XMLPUBVAR int xmlDoValidityCheckingDefaultValue
 
XMLPUBVAR xmlGenericErrorFunc xmlGenericError
 
XMLPUBVAR xmlStructuredErrorFunc xmlStructuredError
 
XMLPUBVAR voidxmlGenericErrorContext
 
XMLPUBVAR voidxmlStructuredErrorContext
 
XMLPUBVAR int xmlGetWarningsDefaultValue
 
XMLPUBVAR int xmlIndentTreeOutput
 
XMLPUBVAR const charxmlTreeIndentString
 
XMLPUBVAR int xmlKeepBlanksDefaultValue
 
XMLPUBVAR int xmlLineNumbersDefaultValue
 
XMLPUBVAR int xmlLoadExtDtdDefaultValue
 
XMLPUBVAR int xmlParserDebugEntities
 
XMLPUBVAR const charxmlParserVersion
 
XMLPUBVAR int xmlPedanticParserDefaultValue
 
XMLPUBVAR int xmlSaveNoEmptyTags
 
XMLPUBVAR int xmlSubstituteEntitiesDefaultValue
 
XMLPUBVAR xmlRegisterNodeFunc xmlRegisterNodeDefaultValue
 
XMLPUBVAR xmlDeregisterNodeFunc xmlDeregisterNodeDefaultValue
 
XMLPUBVAR xmlParserInputBufferCreateFilenameFunc xmlParserInputBufferCreateFilenameValue
 
XMLPUBVAR xmlOutputBufferCreateFilenameFunc xmlOutputBufferCreateFilenameValue
 

Typedef Documentation

◆ xmlDeregisterNodeFunc

typedef void(* xmlDeregisterNodeFunc) (xmlNodePtr node)

xmlDeregisterNodeFunc: @node: the current node

Signature for the deregistration callback of a discarded node

Definition at line 118 of file globals.h.

◆ xmlGlobalState

Definition at line 120 of file globals.h.

◆ xmlGlobalStatePtr

Definition at line 121 of file globals.h.

◆ xmlOutputBufferCreateFilenameFunc

typedef xmlOutputBufferPtr(* xmlOutputBufferCreateFilenameFunc) (const char *URI, xmlCharEncodingHandlerPtr encoder, int compression)

xmlOutputBufferCreateFilenameFunc: @URI: the URI to write to @enc: the requested target encoding

Signature for the function doing the lookup for a suitable output method corresponding to an URI.

Returns the new xmlOutputBufferPtr in case of success or NULL if no method was found.

Definition at line 58 of file globals.h.

◆ xmlParserInputBufferCreateFilenameFunc

typedef xmlParserInputBufferPtr(* xmlParserInputBufferCreateFilenameFunc) (const char *URI, xmlCharEncoding enc)

xmlParserInputBufferCreateFilenameFunc: @URI: the URI to read from @enc: the requested source encoding

Signature for the function doing the lookup for a suitable input method corresponding to an URI.

Returns the new xmlParserInputBufferPtr in case of success or NULL if no method was found.

Definition at line 43 of file globals.h.

◆ xmlRegisterNodeFunc

typedef void(* xmlRegisterNodeFunc) (xmlNodePtr node)

xmlRegisterNodeFunc: @node: the current node

Signature for the registration callback of a created node

Definition at line 111 of file globals.h.

Function Documentation

◆ __oldXMLWDcompatibility()

XMLPUBFUN int *XMLCALL __oldXMLWDcompatibility ( void  )

Definition at line 751 of file globals.c.

751 {
752 if (IS_MAIN_THREAD)
753 return (&oldXMLWDcompatibility);
754 else
756}
int oldXMLWDcompatibility
Definition: globals.c:200
#define IS_MAIN_THREAD
Definition: globals.c:32
XMLPUBFUN xmlGlobalStatePtr XMLCALL xmlGetGlobalState(void)
Definition: threads.c:640

◆ __xmlBufferAllocScheme()

XMLPUBFUN xmlBufferAllocationScheme *XMLCALL __xmlBufferAllocScheme ( void  )

Definition at line 760 of file globals.c.

760 {
761 if (IS_MAIN_THREAD)
762 return (&xmlBufferAllocScheme);
763 else
765}
xmlBufferAllocationScheme xmlBufferAllocScheme
Definition: globals.c:181

◆ __xmlDefaultBufferSize()

XMLPUBFUN int *XMLCALL __xmlDefaultBufferSize ( void  )

Definition at line 777 of file globals.c.

777 {
778 if (IS_MAIN_THREAD)
779 return (&xmlDefaultBufferSize);
780 else
782}
int xmlDefaultBufferSize
Definition: globals.c:188

◆ __xmlDefaultSAXHandler()

XMLPUBFUN xmlSAXHandlerV1 *XMLCALL __xmlDefaultSAXHandler ( void  )

◆ __xmlDefaultSAXLocator()

XMLPUBFUN xmlSAXLocator *XMLCALL __xmlDefaultSAXLocator ( void  )

Definition at line 805 of file globals.c.

805 {
806 if (IS_MAIN_THREAD)
807 return (&xmlDefaultSAXLocator);
808 else
810}
xmlSAXLocator xmlDefaultSAXLocator
Definition: globals.c:401

◆ __xmlDeregisterNodeDefaultValue()

XMLPUBFUN xmlDeregisterNodeFunc *XMLCALL __xmlDeregisterNodeDefaultValue ( void  )

Definition at line 1055 of file globals.c.

1055 {
1056 if (IS_MAIN_THREAD)
1058 else
1060}
xmlDeregisterNodeFunc xmlDeregisterNodeDefaultValue
Definition: globals.c:278

◆ __xmlDoValidityCheckingDefaultValue()

XMLPUBFUN int *XMLCALL __xmlDoValidityCheckingDefaultValue ( void  )

Definition at line 814 of file globals.c.

814 {
815 if (IS_MAIN_THREAD)
817 else
819}
int xmlDoValidityCheckingDefaultValue
Definition: globals.c:216

◆ __xmlGenericError()

XMLPUBFUN xmlGenericErrorFunc *XMLCALL __xmlGenericError ( void  )

Definition at line 831 of file globals.c.

831 {
832 if (IS_MAIN_THREAD)
833 return (&xmlGenericError);
834 else
836}
xmlGenericErrorFunc xmlGenericError
Definition: globals.c:301

◆ __xmlGenericErrorContext()

XMLPUBFUN void **XMLCALL __xmlGenericErrorContext ( void  )

Definition at line 849 of file globals.c.

849 {
850 if (IS_MAIN_THREAD)
851 return (&xmlGenericErrorContext);
852 else
854}
void * xmlGenericErrorContext
Definition: globals.c:315

◆ __xmlGetWarningsDefaultValue()

XMLPUBFUN int *XMLCALL __xmlGetWarningsDefaultValue ( void  )

Definition at line 867 of file globals.c.

867 {
868 if (IS_MAIN_THREAD)
870 else
872}
int xmlGetWarningsDefaultValue
Definition: globals.c:224

◆ __xmlIndentTreeOutput()

XMLPUBFUN int *XMLCALL __xmlIndentTreeOutput ( void  )

Definition at line 884 of file globals.c.

884 {
885 if (IS_MAIN_THREAD)
886 return (&xmlIndentTreeOutput);
887 else
889}
int xmlIndentTreeOutput
Definition: globals.c:335

◆ __xmlKeepBlanksDefaultValue()

XMLPUBFUN int *XMLCALL __xmlKeepBlanksDefaultValue ( void  )

Definition at line 918 of file globals.c.

918 {
919 if (IS_MAIN_THREAD)
921 else
923}
int xmlKeepBlanksDefaultValue
Definition: globals.c:262

◆ __xmlLastError()

XMLPUBFUN xmlError *XMLCALL __xmlLastError ( void  )

Definition at line 683 of file globals.c.

683 {
684 if (IS_MAIN_THREAD)
685 return (&xmlLastError);
686 else
687 return (&xmlGetGlobalState()->xmlLastError);
688}
xmlError xmlLastError
Definition: globals.c:324

◆ __xmlLineNumbersDefaultValue()

XMLPUBFUN int *XMLCALL __xmlLineNumbersDefaultValue ( void  )

Definition at line 935 of file globals.c.

935 {
936 if (IS_MAIN_THREAD)
938 else
940}
int xmlLineNumbersDefaultValue
Definition: globals.c:251

◆ __xmlLoadExtDtdDefaultValue()

XMLPUBFUN int *XMLCALL __xmlLoadExtDtdDefaultValue ( void  )

Definition at line 952 of file globals.c.

952 {
953 if (IS_MAIN_THREAD)
955 else
957}
int xmlLoadExtDtdDefaultValue
Definition: globals.c:233

◆ __xmlOutputBufferCreateFilenameValue()

XMLPUBFUN xmlOutputBufferCreateFilenameFunc *XMLCALL __xmlOutputBufferCreateFilenameValue ( void  )

Definition at line 1073 of file globals.c.

1073 {
1074 if (IS_MAIN_THREAD)
1076 else
1078}
xmlOutputBufferCreateFilenameFunc xmlOutputBufferCreateFilenameValue
Definition: globals.c:284

◆ __xmlParserDebugEntities()

XMLPUBFUN int *XMLCALL __xmlParserDebugEntities ( void  )

Definition at line 969 of file globals.c.

969 {
970 if (IS_MAIN_THREAD)
971 return (&xmlParserDebugEntities);
972 else
974}
int xmlParserDebugEntities
Definition: globals.c:208

◆ __xmlParserInputBufferCreateFilenameValue()

XMLPUBFUN xmlParserInputBufferCreateFilenameFunc *XMLCALL __xmlParserInputBufferCreateFilenameValue ( void  )

Definition at line 1064 of file globals.c.

1064 {
1065 if (IS_MAIN_THREAD)
1067 else
1069}
xmlParserInputBufferCreateFilenameFunc xmlParserInputBufferCreateFilenameValue
Definition: globals.c:281

◆ __xmlParserVersion()

XMLPUBFUN const char **XMLCALL __xmlParserVersion ( void  )

Definition at line 986 of file globals.c.

986 {
987 if (IS_MAIN_THREAD)
988 return (&xmlParserVersion);
989 else
991}
const char * xmlParserVersion
Definition: globals.c:173

◆ __xmlPedanticParserDefaultValue()

XMLPUBFUN int *XMLCALL __xmlPedanticParserDefaultValue ( void  )

Definition at line 995 of file globals.c.

995 {
996 if (IS_MAIN_THREAD)
998 else
1000}
int xmlPedanticParserDefaultValue
Definition: globals.c:241

◆ __xmlRegisterNodeDefaultValue()

XMLPUBFUN xmlRegisterNodeFunc *XMLCALL __xmlRegisterNodeDefaultValue ( void  )

Definition at line 1046 of file globals.c.

1046 {
1047 if (IS_MAIN_THREAD)
1049 else
1051}
xmlRegisterNodeFunc xmlRegisterNodeDefaultValue
Definition: globals.c:276

◆ __xmlSaveNoEmptyTags()

XMLPUBFUN int *XMLCALL __xmlSaveNoEmptyTags ( void  )

Definition at line 1012 of file globals.c.

1012 {
1013 if (IS_MAIN_THREAD)
1014 return (&xmlSaveNoEmptyTags);
1015 else
1017}
int xmlSaveNoEmptyTags
Definition: globals.c:354

◆ __xmlStructuredError()

XMLPUBFUN xmlStructuredErrorFunc *XMLCALL __xmlStructuredError ( void  )

Definition at line 840 of file globals.c.

840 {
841 if (IS_MAIN_THREAD)
842 return (&xmlStructuredError);
843 else
845}
xmlStructuredErrorFunc xmlStructuredError
Definition: globals.c:308

◆ __xmlStructuredErrorContext()

XMLPUBFUN void **XMLCALL __xmlStructuredErrorContext ( void  )

Definition at line 858 of file globals.c.

858 {
859 if (IS_MAIN_THREAD)
861 else
863}
void * xmlStructuredErrorContext
Definition: globals.c:322

◆ __xmlSubstituteEntitiesDefaultValue()

XMLPUBFUN int *XMLCALL __xmlSubstituteEntitiesDefaultValue ( void  )

Definition at line 1029 of file globals.c.

1029 {
1030 if (IS_MAIN_THREAD)
1032 else
1034}
int xmlSubstituteEntitiesDefaultValue
Definition: globals.c:273

◆ __xmlTreeIndentString()

XMLPUBFUN const char **XMLCALL __xmlTreeIndentString ( void  )

Definition at line 901 of file globals.c.

901 {
902 if (IS_MAIN_THREAD)
903 return (&xmlTreeIndentString);
904 else
906}
const char * xmlTreeIndentString
Definition: globals.c:343

◆ xmlCleanupGlobals()

XML_DEPRECATED XMLPUBFUN void XMLCALL xmlCleanupGlobals ( void  )

xmlCleanupGlobals:

DEPRECATED: This function will be made private. Call xmlCleanupParser to free global state but see the warnings there. xmlCleanupParser should be only called once at program exit. In most cases, you don't have call cleanup functions at all.

Additional cleanup for multi-threading

Definition at line 535 of file globals.c.

536{
538
539 if (xmlThrDefMutex != NULL) {
542 }
544}
#define NULL
Definition: types.h:112
void __xmlGlobalInitMutexDestroy(void)
Definition: threads.c:512
static xmlMutexPtr xmlThrDefMutex
Definition: globals.c:38
XMLPUBFUN void XMLCALL xmlFreeMutex(xmlMutexPtr tok)
Definition: threads.c:197
XMLPUBFUN void XMLCALL xmlResetError(xmlErrorPtr err)

Referenced by xmlCleanupParser().

◆ xmlDeregisterNodeDefault()

XMLPUBFUN xmlDeregisterNodeFunc XMLCALL xmlDeregisterNodeDefault ( xmlDeregisterNodeFunc  func)

xmlDeregisterNodeDefault: @func: function pointer to the new DeregisterNodeFunc

Registers a callback for node destruction

Returns the previous value of the deregistration function

Definition at line 611 of file globals.c.

612{
614
617 return(old);
618}
GLenum func
Definition: glext.h:6028
int __xmlRegisterCallbacks
Definition: tree.c:50
void(* xmlDeregisterNodeFunc)(xmlNodePtr node)
Definition: globals.h:118

Referenced by main().

◆ xmlInitGlobals()

XML_DEPRECATED XMLPUBFUN void XMLCALL xmlInitGlobals ( void  )

xmlInitGlobals:

DEPRECATED: This function will be made private. Call xmlInitParser to initialize the library.

Additional initialisation for multi-threading

Definition at line 48 of file globals.c.

49{
50 if (xmlThrDefMutex == NULL)
52}
XMLPUBFUN xmlMutexPtr XMLCALL xmlNewMutex(void)
Definition: threads.c:168

Referenced by xmlInitializeGlobalState(), and xmlInitParser().

◆ xmlInitializeGlobalState()

XMLPUBFUN void XMLCALL xmlInitializeGlobalState ( xmlGlobalStatePtr  gs)

xmlInitializeGlobalState: @gs: a pointer to a newly allocated global state

xmlInitializeGlobalState() initialize a global state with all the default values of the library.

Definition at line 454 of file globals.c.

455{
456#ifdef DEBUG_GLOBALS
457 fprintf(stderr, "Initializing globals at %lu for thread %d\n",
458 (unsigned long) gs, xmlGetThreadId());
459#endif
460
461 /*
462 * Perform initialization as required by libxml
463 */
464 if (xmlThrDefMutex == NULL)
466
468
469#if defined(LIBXML_HTML_ENABLED) && defined(LIBXML_LEGACY_ENABLED) && defined(LIBXML_SAX1_ENABLED)
470 inithtmlDefaultSAXHandler(&gs->htmlDefaultSAXHandler);
471#endif
472
473 gs->oldXMLWDcompatibility = 0;
474 gs->xmlBufferAllocScheme = xmlBufferAllocSchemeThrDef;
475 gs->xmlDefaultBufferSize = xmlDefaultBufferSizeThrDef;
476#if defined(LIBXML_SAX1_ENABLED) && defined(LIBXML_LEGACY_ENABLED)
477 initxmlDefaultSAXHandler(&gs->xmlDefaultSAXHandler, 1);
478#endif /* LIBXML_SAX1_ENABLED */
479 gs->xmlDefaultSAXLocator.getPublicId = xmlSAX2GetPublicId;
480 gs->xmlDefaultSAXLocator.getSystemId = xmlSAX2GetSystemId;
481 gs->xmlDefaultSAXLocator.getLineNumber = xmlSAX2GetLineNumber;
482 gs->xmlDefaultSAXLocator.getColumnNumber = xmlSAX2GetColumnNumber;
483 gs->xmlDoValidityCheckingDefaultValue =
485#if defined(DEBUG_MEMORY_LOCATION) | defined(DEBUG_MEMORY)
486 gs->xmlFree = (xmlFreeFunc) xmlMemFree;
487 gs->xmlMalloc = (xmlMallocFunc) xmlMemMalloc;
488 gs->xmlMallocAtomic = (xmlMallocFunc) xmlMemMalloc;
489 gs->xmlRealloc = (xmlReallocFunc) xmlMemRealloc;
490 gs->xmlMemStrdup = (xmlStrdupFunc) xmlMemoryStrdup;
491#else
492 gs->xmlFree = (xmlFreeFunc) free;
493 gs->xmlMalloc = (xmlMallocFunc) malloc;
494 gs->xmlMallocAtomic = (xmlMallocFunc) malloc;
495 gs->xmlRealloc = (xmlReallocFunc) realloc;
496 gs->xmlMemStrdup = (xmlStrdupFunc) xmlStrdup;
497#endif
498 gs->xmlGetWarningsDefaultValue = xmlGetWarningsDefaultValueThrDef;
499 gs->xmlIndentTreeOutput = xmlIndentTreeOutputThrDef;
500 gs->xmlTreeIndentString = xmlTreeIndentStringThrDef;
501 gs->xmlKeepBlanksDefaultValue = xmlKeepBlanksDefaultValueThrDef;
502 gs->xmlLineNumbersDefaultValue = xmlLineNumbersDefaultValueThrDef;
503 gs->xmlLoadExtDtdDefaultValue = xmlLoadExtDtdDefaultValueThrDef;
504 gs->xmlParserDebugEntities = xmlParserDebugEntitiesThrDef;
505 gs->xmlParserVersion = LIBXML_VERSION_STRING;
506 gs->xmlPedanticParserDefaultValue = xmlPedanticParserDefaultValueThrDef;
507 gs->xmlSaveNoEmptyTags = xmlSaveNoEmptyTagsThrDef;
508 gs->xmlSubstituteEntitiesDefaultValue =
510
511 gs->xmlGenericError = xmlGenericErrorThrDef;
512 gs->xmlStructuredError = xmlStructuredErrorThrDef;
513 gs->xmlGenericErrorContext = xmlGenericErrorContextThrDef;
514 gs->xmlStructuredErrorContext = xmlStructuredErrorContextThrDef;
515 gs->xmlRegisterNodeDefaultValue = xmlRegisterNodeDefaultValueThrDef;
516 gs->xmlDeregisterNodeDefaultValue = xmlDeregisterNodeDefaultValueThrDef;
517
518 gs->xmlParserInputBufferCreateFilenameValue = xmlParserInputBufferCreateFilenameValueThrDef;
519 gs->xmlOutputBufferCreateFilenameValue = xmlOutputBufferCreateFilenameValueThrDef;
520 memset(&gs->xmlLastError, 0, sizeof(xmlError));
521
523}
XMLPUBFUN int XMLCALL xmlSAX2GetColumnNumber(void *ctx)
Definition: SAX2.c:259
XMLPUBFUN const xmlChar *XMLCALL xmlSAX2GetSystemId(void *ctx)
Definition: SAX2.c:227
XMLPUBFUN const xmlChar *XMLCALL xmlSAX2GetPublicId(void *ctx)
XMLPUBFUN int XMLCALL xmlSAX2GetLineNumber(void *ctx)
Definition: SAX2.c:243
#define realloc
Definition: debug_ros.c:6
#define free
Definition: debug_ros.c:5
#define malloc
Definition: debug_ros.c:4
#define gs
Definition: i386-dis.c:445
#define stderr
Definition: stdio.h:100
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
static int xmlSaveNoEmptyTagsThrDef
Definition: globals.c:355
static xmlParserInputBufferCreateFilenameFunc xmlParserInputBufferCreateFilenameValueThrDef
Definition: globals.c:282
static int xmlLineNumbersDefaultValueThrDef
Definition: globals.c:252
static xmlRegisterNodeFunc xmlRegisterNodeDefaultValueThrDef
Definition: globals.c:277
static int xmlGetWarningsDefaultValueThrDef
Definition: globals.c:225
static xmlStructuredErrorFunc xmlStructuredErrorThrDef
Definition: globals.c:309
static void * xmlGenericErrorContextThrDef
Definition: globals.c:316
static xmlOutputBufferCreateFilenameFunc xmlOutputBufferCreateFilenameValueThrDef
Definition: globals.c:285
static int xmlSubstituteEntitiesDefaultValueThrDef
Definition: globals.c:274
static int xmlIndentTreeOutputThrDef
Definition: globals.c:336
static int xmlKeepBlanksDefaultValueThrDef
Definition: globals.c:263
static void * xmlStructuredErrorContextThrDef
Definition: globals.c:323
void xmlInitGlobals(void)
Definition: globals.c:48
static int xmlParserDebugEntitiesThrDef
Definition: globals.c:209
static const char * xmlTreeIndentStringThrDef
Definition: globals.c:344
static int xmlDefaultBufferSizeThrDef
Definition: globals.c:189
static int xmlLoadExtDtdDefaultValueThrDef
Definition: globals.c:234
static xmlDeregisterNodeFunc xmlDeregisterNodeDefaultValueThrDef
Definition: globals.c:279
static int xmlDoValidityCheckingDefaultValueThrDef
Definition: globals.c:217
static xmlBufferAllocationScheme xmlBufferAllocSchemeThrDef
Definition: globals.c:182
static int xmlPedanticParserDefaultValueThrDef
Definition: globals.c:242
static xmlGenericErrorFunc xmlGenericErrorThrDef
Definition: globals.c:302
#define memset(x, y, z)
Definition: compat.h:39
XMLPUBFUN void XMLCALL xmlMutexUnlock(xmlMutexPtr tok)
Definition: threads.c:248
XMLPUBFUN int XMLCALL xmlGetThreadId(void)
Definition: threads.c:750
XMLPUBFUN void XMLCALL xmlMutexLock(xmlMutexPtr tok)
Definition: threads.c:220
void *(XMLCALL * xmlReallocFunc)(void *mem, size_t size)
Definition: xmlmemory.h:77
char *(XMLCALL * xmlStrdupFunc)(const char *str)
Definition: xmlmemory.h:87
XMLPUBFUN void XMLCALL xmlMemFree(void *ptr)
Definition: xmlmemory.c:414
void(XMLCALL * xmlFreeFunc)(void *mem)
Definition: xmlmemory.h:57
XMLPUBFUN void *XMLCALL xmlMemMalloc(size_t size) LIBXML_ATTR_ALLOC_SIZE(1)
Definition: xmlmemory.c:294
XMLPUBFUN char *XMLCALL xmlMemoryStrdup(const char *str)
Definition: xmlmemory.c:555
XMLPUBFUN void *XMLCALL xmlMemRealloc(void *ptr, size_t size)
Definition: xmlmemory.c:403
XMLPUBFUN xmlChar *XMLCALL xmlStrdup(const xmlChar *cur)
Definition: xmlstring.c:67
#define LIBXML_VERSION_STRING
Definition: xmlversion.h:46

Referenced by xmlGetGlobalState().

◆ xmlOutputBufferCreateFilenameDefault()

◆ xmlParserInputBufferCreateFilenameDefault()

◆ xmlRegisterNodeDefault()

XMLPUBFUN xmlRegisterNodeFunc XMLCALL xmlRegisterNodeDefault ( xmlRegisterNodeFunc  func)

xmlRegisterNodeDefault: @func: function pointer to the new RegisterNodeFunc

Registers a callback for node creation

Returns the old value of the registration function

Definition at line 578 of file globals.c.

579{
581
584 return(old);
585}
void(* xmlRegisterNodeFunc)(xmlNodePtr node)
Definition: globals.h:111

Referenced by main().

◆ xmlThrDefBufferAllocScheme()

Definition at line 766 of file globals.c.

766 {
772 return ret;
773}
const GLdouble * v
Definition: gl.h:2040
xmlBufferAllocationScheme
Definition: tree.h:74
int ret

◆ xmlThrDefDefaultBufferSize()

XMLPUBFUN int XMLCALL xmlThrDefDefaultBufferSize ( int  v)

Definition at line 783 of file globals.c.

◆ xmlThrDefDeregisterNodeDefault()

XMLPUBFUN xmlDeregisterNodeFunc XMLCALL xmlThrDefDeregisterNodeDefault ( xmlDeregisterNodeFunc  func)

Definition at line 621 of file globals.c.

◆ xmlThrDefDoValidityCheckingDefaultValue()

XMLPUBFUN int XMLCALL xmlThrDefDoValidityCheckingDefaultValue ( int  v)

◆ xmlThrDefGetWarningsDefaultValue()

XMLPUBFUN int XMLCALL xmlThrDefGetWarningsDefaultValue ( int  v)

Definition at line 873 of file globals.c.

◆ xmlThrDefIndentTreeOutput()

XMLPUBFUN int XMLCALL xmlThrDefIndentTreeOutput ( int  v)

Definition at line 890 of file globals.c.

◆ xmlThrDefKeepBlanksDefaultValue()

XMLPUBFUN int XMLCALL xmlThrDefKeepBlanksDefaultValue ( int  v)

Definition at line 924 of file globals.c.

◆ xmlThrDefLineNumbersDefaultValue()

XMLPUBFUN int XMLCALL xmlThrDefLineNumbersDefaultValue ( int  v)

Definition at line 941 of file globals.c.

◆ xmlThrDefLoadExtDtdDefaultValue()

XMLPUBFUN int XMLCALL xmlThrDefLoadExtDtdDefaultValue ( int  v)

Definition at line 958 of file globals.c.

◆ xmlThrDefOutputBufferCreateFilenameDefault()

XMLPUBFUN xmlOutputBufferCreateFilenameFunc XMLCALL xmlThrDefOutputBufferCreateFilenameDefault ( xmlOutputBufferCreateFilenameFunc  func)

Definition at line 653 of file globals.c.

654{
656
659#ifdef LIBXML_OUTPUT_ENABLED
660 if (old == NULL) {
661 old = __xmlOutputBufferCreateFilename;
662 }
663#endif
666
667 return(old);
668}
xmlOutputBufferPtr(* xmlOutputBufferCreateFilenameFunc)(const char *URI, xmlCharEncodingHandlerPtr encoder, int compression)
Definition: globals.h:58

◆ xmlThrDefParserDebugEntities()

XMLPUBFUN int XMLCALL xmlThrDefParserDebugEntities ( int  v)

Definition at line 975 of file globals.c.

◆ xmlThrDefParserInputBufferCreateFilenameDefault()

XMLPUBFUN xmlParserInputBufferCreateFilenameFunc XMLCALL xmlThrDefParserInputBufferCreateFilenameDefault ( xmlParserInputBufferCreateFilenameFunc  func)

Definition at line 636 of file globals.c.

637{
639
642 if (old == NULL) {
644 }
645
648
649 return(old);
650}
xmlParserInputBufferPtr(* xmlParserInputBufferCreateFilenameFunc)(const char *URI, xmlCharEncoding enc)
Definition: globals.h:43
xmlParserInputBufferPtr __xmlParserInputBufferCreateFilename(const char *URI, xmlCharEncoding enc)

◆ xmlThrDefPedanticParserDefaultValue()

XMLPUBFUN int XMLCALL xmlThrDefPedanticParserDefaultValue ( int  v)

Definition at line 1001 of file globals.c.

◆ xmlThrDefRegisterNodeDefault()

XMLPUBFUN xmlRegisterNodeFunc XMLCALL xmlThrDefRegisterNodeDefault ( xmlRegisterNodeFunc  func)

Definition at line 588 of file globals.c.

◆ xmlThrDefSaveNoEmptyTags()

XMLPUBFUN int XMLCALL xmlThrDefSaveNoEmptyTags ( int  v)

Definition at line 1018 of file globals.c.

1018 {
1019 int ret;
1024 return ret;
1025}

◆ xmlThrDefSetGenericErrorFunc()

XMLPUBFUN void XMLCALL xmlThrDefSetGenericErrorFunc ( void ctx,
xmlGenericErrorFunc  handler 
)

DOC_DISABLE : we ignore missing doc for the xmlThrDef functions, those are really internal work

Definition at line 551 of file globals.c.

551 {
554 if (handler != NULL)
556 else
559}
UINT(* handler)(MSIPACKAGE *)
Definition: action.c:7482
void XMLCDECL xmlGenericErrorDefaultFunc(void *ctx ATTRIBUTE_UNUSED, const char *msg,...)
Definition: error.c:71

◆ xmlThrDefSetStructuredErrorFunc()

XMLPUBFUN void XMLCALL xmlThrDefSetStructuredErrorFunc ( void ctx,
xmlStructuredErrorFunc  handler 
)

◆ xmlThrDefSubstituteEntitiesDefaultValue()

XMLPUBFUN int XMLCALL xmlThrDefSubstituteEntitiesDefaultValue ( int  v)

Definition at line 1035 of file globals.c.

◆ xmlThrDefTreeIndentString()

XMLPUBFUN const char *XMLCALL xmlThrDefTreeIndentString ( const char v)

Definition at line 907 of file globals.c.

907 {
908 const char * ret;
913 return ret;
914}

Referenced by DllMain().

Variable Documentation

◆ oldXMLWDcompatibility

XMLPUBVAR int oldXMLWDcompatibility

Definition at line 285 of file globals.h.

◆ xmlBufferAllocScheme

XMLPUBVAR xmlBufferAllocationScheme xmlBufferAllocScheme

Definition at line 293 of file globals.h.

Referenced by xmlBufCreate(), and xmlBufCreateSize().

◆ xmlDefaultBufferSize

XMLPUBVAR int xmlDefaultBufferSize

Definition at line 303 of file globals.h.

Referenced by xmlBufCreate().

◆ xmlDefaultSAXHandler

XMLPUBVAR xmlSAXHandlerV1 xmlDefaultSAXHandler

Definition at line 312 of file globals.h.

Referenced by xmlCreateIOParserCtxt(), xmlDefaultSAXHandlerInit(), and xmlFreeParserCtxt().

◆ xmlDefaultSAXLocator

XMLPUBVAR xmlSAXLocator xmlDefaultSAXLocator

Definition at line 320 of file globals.h.

Referenced by xmlParseDocument(), and xmlParseExtParsedEnt().

◆ xmlDeregisterNodeDefaultValue

XMLPUBVAR xmlDeregisterNodeFunc xmlDeregisterNodeDefaultValue

Definition at line 475 of file globals.h.

◆ xmlDoValidityCheckingDefaultValue

XMLPUBVAR int xmlDoValidityCheckingDefaultValue

Definition at line 328 of file globals.h.

Referenced by main(), and xmlInitParserCtxt().

◆ xmlFree

Definition at line 251 of file globals.h.

Referenced by myStrdupFunc(), parseAndPrintFile(), xmlAddDefAttrs(), xmlAddElementDecl(), xmlAddEncodingAlias(), xmlAddRef(), xmlBufBackToBuffer(), xmlBufCreate(), xmlBufCreateSize(), xmlBufFree(), xmlBufResize(), xmlBuildURI(), xmlCanonicPath(), xmlCharEncCloseFunc(), xmlCleanupCharEncodingHandlers(), xmlCleanupEncodingAliases(), xmlCleanURI(), xmlClearNodeInfoSeq(), xmlCreateEntityParserCtxtInternal(), xmlCreateIOParserCtxt(), xmlCtxtResetPush(), xmlCtxtUseOptionsInternal(), xmlDelEncodingAlias(), xmlDictCreate(), xmlDictFree(), xmlDictGrow(), xmlEscapeFormatString(), xmlFreeAttribute(), xmlFreeDocElementContent(), xmlFreeElement(), xmlFreeEnumeration(), xmlFreeID(), xmlFreeInputStream(), xmlFreeNotation(), xmlFreeParserCtxt(), xmlFreeRef(), xmlFreeURI(), xmlGcMemGet(), xmlGcMemSetup(), xmlGetDtdAttrDesc(), xmlGetDtdElementDesc(), xmlGetDtdElementDesc2(), xmlHashCreate(), xmlHashDefaultDeallocator(), xmlHashFree(), xmlHashGrow(), xmlHashRemoveEntry3(), xmlHTMLEncodeSend(), xmlInitParser(), xmlIsID(), xmlLinkDeallocator(), xmllintExternalEntityLoader(), xmlListCreate(), xmlListDelete(), xmlMemGet(), xmlMemSetup(), xmlNewCharEncodingHandler(), xmlNewInputFromFile(), xmlParse3986Fragment(), xmlParse3986HierPart(), xmlParse3986Host(), xmlParse3986PathAbEmpty(), xmlParse3986PathAbsolute(), xmlParse3986PathNoScheme(), xmlParse3986PathRootless(), xmlParse3986Query(), xmlParse3986RelativeRef(), xmlParse3986Scheme(), xmlParse3986Userinfo(), xmlParseAttribute2(), xmlParseAttributeListDecl(), xmlParseAttValueComplex(), xmlParseCDSect(), xmlParseComment(), xmlParseCommentComplex(), xmlParseConditionalSections(), xmlParseEncName(), xmlParseEncodingDecl(), xmlParseEntityDecl(), xmlParseEntityValue(), xmlParseEnumerationType(), xmlParseInNodeContext(), xmlParseNmtoken(), xmlParseNotationDecl(), xmlParseNotationType(), xmlParsePI(), xmlParsePubidLiteral(), xmlParseQName(), xmlParserEntityCheck(), xmlParseStartTag2(), xmlParseStringEntityRef(), xmlParseStringName(), xmlParseStringPEReference(), xmlParseSystemLiteral(), xmlParseVersionNum(), xmlParseXMLDecl(), xmlPathToURI(), xmlPrintURI(), xmlRegisterCharEncodingHandler(), xmlRemoveID(), xmlRemoveRef(), xmlSaveUri(), xmlSAX2AttributeDecl(), xmlSAX2AttributeNs(), xmlSAX2ExternalSubset(), xmlSAX2ResolveEntity(), xmlSAX2StartElementNs(), xmlSAX2TextNode(), xmlSplitQName(), xmlStringLenDecodeEntities(), xmlURIEscape(), xmlURIEscapeStr(), xsltAddKey(), xsltAttribute(), xsltAttrTemplateValueProcessNode(), xsltCheckWritePath(), xsltComment(), xsltCompileAttr(), xsltCompileIdKeyPattern(), xsltCompileLocationPathPattern(), xsltCompileStepPattern(), xsltCompMatchAdd(), xsltComputeSortResultInternal(), xsltCopyAttrListNoOverwrite(), xsltCopyOf(), xsltCopyTree(), xsltDefaultSortFunction(), xsltDocumentElem(), xsltDocumentFunction(), xsltDocumentFunctionLoadDocument(), xsltElement(), xsltElementAvailableFunction(), xsltEvalAttrValueTemplate(), xsltEvalAVT(), xsltEvalStaticAttrValueTemplate(), xsltFormatNumberFunction(), xsltFreeAttrElem(), xsltFreeAttrSet(), xsltFreeAttrVT(), xsltFreeCompMatch(), xsltFreeDecimalFormat(), xsltFreeDocuments(), xsltFreeElemPreComp(), xsltFreeExtData(), xsltFreeExtDef(), xsltFreeExtElement(), xsltFreeExtModule(), xsltFreeKeyDef(), xsltFreeKeyTable(), xsltFreeLocales(), xsltFreeParserContext(), xsltFreeRVTs(), xsltFreeSecurityPrefs(), xsltFreeStackElem(), xsltFreeStyleDocuments(), xsltFreeStylePreComp(), xsltFreeStylesheet(), xsltFreeTemplate(), xsltFreeTransformContext(), xsltFreeUseAttrSet(), xsltFunctionAvailableFunction(), xsltGetCNsProp(), xsltGetQNameURI(), xsltGetQNameURI2(), xsltInitCtxtKey(), xsltKeyFunction(), xsltLoadStylesheetPI(), xsltMessage(), xsltNamespaceAlias(), xsltNewCompMatch(), xsltNumberFormat(), xsltParseStylesheetAttributeSet(), xsltParseStylesheetDecimalFormat(), xsltParseStylesheetExcludePrefix(), xsltParseStylesheetExtPrefix(), xsltParseStylesheetImport(), xsltParseStylesheetInclude(), xsltParseStylesheetKey(), xsltParseStylesheetOutput(), xsltParseStylesheetPI(), xsltParseStylesheetPreserveSpace(), xsltParseStylesheetProcess(), xsltParseStylesheetStripSpace(), xsltParseStylesheetTemplate(), xsltParseStylesheetTop(), xsltParseTemplateContent(), xsltProcessingInstruction(), xsltReleaseRVT(), xsltReverseCompMatch(), xsltShallowCopyAttr(), xsltStrxfrm(), xsltSystemPropertyFunction(), xsltTestCompMatch(), xsltTransformCacheFree(), xsltTransformError(), and xsltValueOf().

◆ xmlGenericError

XMLPUBVAR xmlGenericErrorFunc xmlGenericError

Definition at line 337 of file globals.h.

Referenced by __xmlGlobalInitMutexLock(), debugmem_tag_error(), exclPrefixPush(), initGenericErrorDefaultFunc(), LIBXML_ATTR_FORMAT(), main(), nsPop(), parseAndPrintFile(), templPush(), testSAX(), xmlBufAdd(), xmlBufDump(), xmlBufFree(), xmlBufGetAllocationScheme(), xmlBufSetAllocationScheme(), xmlBufWriteQuotedString(), xmlCharEncCloseFunc(), xmlCharEncFirstLineInput(), xmlCharEncFirstLineInt(), xmlCharEncInFunc(), xmlCharEncInput(), xmlCharEncOutFunc(), xmlCheckVersion(), xmlCleanupMemory(), xmlCleanupThreads(), xmlCtxtResetPush(), xmlDictGrow(), xmlFindCharEncodingHandler(), xmlGcMemSetup(), xmlGetCharEncodingHandler(), xmlGetGlobalState(), xmlHashGrow(), xmlHTMLEncodeSend(), xmlHTMLPrintFileContext(), xmlHTMLPrintFileInfo(), xmlInitMemory(), xmlInitParser(), xmlIsMainThread(), xmlListAppend(), xmlListCreate(), xmlListInsert(), xmlListPushBack(), xmlListPushFront(), xmlLoadEntityContent(), xmlLockLibrary(), xmlMallocAtomicLoc(), xmlMallocBreakpoint(), xmlMallocLoc(), xmlMemFree(), xmlMemSetup(), xmlMemStrdupLoc(), xmlMutexLock(), xmlNewCharEncodingHandler(), xmlNewEntityInputStream(), xmlNewInputFromFile(), xmlNewIOInputStream(), xmlNewStringInputStream(), xmlParseCharEncoding(), xmlParsePEReference(), xmlParserInputGrow(), xmlParserInputShrink(), xmlParserPrintFileContext(), xmlParserPrintFileInfo(), xmlPopInput(), xmlPushInput(), xmlReallocLoc(), xmlReportError(), xmlSAX2AttributeDecl(), xmlSAX2Comment(), xmlSAX2ElementDecl(), xmlSAX2EndDocument(), xmlSAX2EntityDecl(), xmlSAX2ExternalSubset(), xmlSAX2GetEntity(), xmlSAX2GetParameterEntity(), xmlSAX2IgnorableWhitespace(), xmlSAX2InternalSubset(), xmlSAX2NotationDecl(), xmlSAX2ProcessingInstruction(), xmlSAX2Reference(), xmlSAX2ResolveEntity(), xmlSAX2SetDocumentLocator(), xmlSAX2StartDocument(), xmlSAX2Text(), xmlSAX2UnparsedEntityDecl(), xmlSetGenericErrorFunc(), xmlStringLenDecodeEntities(), xmlUnlockLibrary(), xsltAddStackElem(), xsltExtensionInstructionResultFinalize(), xsltFlagRVTs(), xsltFreeStackElem(), xsltGetInheritedNsList(), xsltLocalVariablePush(), xsltNewTransformContext(), and xsltReleaseLocalRVTs().

◆ xmlGenericErrorContext

XMLPUBVAR void* xmlGenericErrorContext

Definition at line 353 of file globals.h.

Referenced by __xmlGlobalInitMutexLock(), debugmem_tag_error(), exclPrefixPush(), LIBXML_ATTR_FORMAT(), main(), nsPop(), parseAndPrintFile(), templPush(), xmlBufAdd(), xmlBufDump(), xmlBufFree(), xmlBufGetAllocationScheme(), xmlBufSetAllocationScheme(), xmlBufWriteQuotedString(), xmlCharEncCloseFunc(), xmlCharEncFirstLineInput(), xmlCharEncFirstLineInt(), xmlCharEncInFunc(), xmlCharEncInput(), xmlCharEncOutFunc(), xmlCheckVersion(), xmlCleanupMemory(), xmlCleanupThreads(), xmlCtxtResetPush(), xmlDictGrow(), xmlFindCharEncodingHandler(), xmlGcMemSetup(), xmlGenericErrorDefaultFunc(), xmlGetCharEncodingHandler(), xmlGetGlobalState(), xmlHashGrow(), xmlHTMLEncodeSend(), xmlHTMLPrintFileContext(), xmlHTMLPrintFileInfo(), xmlInitMemory(), xmlIsMainThread(), xmlListAppend(), xmlListCreate(), xmlListInsert(), xmlListPushBack(), xmlListPushFront(), xmlLoadEntityContent(), xmlLockLibrary(), xmlMallocAtomicLoc(), xmlMallocBreakpoint(), xmlMallocLoc(), xmlMemFree(), xmlMemSetup(), xmlMemStrdupLoc(), xmlMutexLock(), xmlNewCharEncodingHandler(), xmlNewEntityInputStream(), xmlNewInputFromFile(), xmlNewIOInputStream(), xmlNewStringInputStream(), xmlParseCharEncoding(), xmlParsePEReference(), xmlParserInputGrow(), xmlParserInputShrink(), xmlParserPrintFileContext(), xmlParserPrintFileInfo(), xmlPopInput(), xmlPushInput(), xmlReallocLoc(), xmlReportError(), xmlSAX2AttributeDecl(), xmlSAX2Comment(), xmlSAX2ElementDecl(), xmlSAX2EndDocument(), xmlSAX2EntityDecl(), xmlSAX2ExternalSubset(), xmlSAX2GetEntity(), xmlSAX2GetParameterEntity(), xmlSAX2IgnorableWhitespace(), xmlSAX2InternalSubset(), xmlSAX2NotationDecl(), xmlSAX2ProcessingInstruction(), xmlSAX2Reference(), xmlSAX2ResolveEntity(), xmlSAX2SetDocumentLocator(), xmlSAX2StartDocument(), xmlSAX2Text(), xmlSAX2UnparsedEntityDecl(), xmlSetGenericErrorFunc(), xmlStringLenDecodeEntities(), xmlUnlockLibrary(), xsltAddStackElem(), xsltExtensionInstructionResultFinalize(), xsltFlagRVTs(), xsltFreeStackElem(), xsltGetInheritedNsList(), xsltLocalVariablePush(), xsltNewTransformContext(), and xsltReleaseLocalRVTs().

◆ xmlGetWarningsDefaultValue

XMLPUBVAR int xmlGetWarningsDefaultValue

Definition at line 369 of file globals.h.

Referenced by main(), and xmlInitParserCtxt().

◆ xmlIndentTreeOutput

XMLPUBVAR int xmlIndentTreeOutput

Definition at line 378 of file globals.h.

Referenced by xmlKeepBlanksDefault().

◆ xmlKeepBlanksDefaultValue

XMLPUBVAR int xmlKeepBlanksDefaultValue

Definition at line 396 of file globals.h.

Referenced by xmlInitParserCtxt(), and xmlKeepBlanksDefault().

◆ xmlLastError

XMLPUBVAR xmlError xmlLastError

Definition at line 270 of file globals.h.

◆ xmlLineNumbersDefaultValue

XMLPUBVAR int xmlLineNumbersDefaultValue

Definition at line 405 of file globals.h.

Referenced by xmlInitParserCtxt(), and xmlLineNumbersDefault().

◆ xmlLoadExtDtdDefaultValue

XMLPUBVAR int xmlLoadExtDtdDefaultValue

Definition at line 414 of file globals.h.

Referenced by main(), and xmlInitParserCtxt().

◆ xmlMalloc

XMLPUBVAR xmlMallocFunc xmlMalloc

DOC_DISABLE

Definition at line 248 of file globals.h.

Referenced by exclPrefixPush(), nameNsPush(), nsPush(), templPush(), xmlAddAttributeDecl(), xmlAddDefAttrs(), xmlAddElementDecl(), xmlAddEncodingAlias(), xmlAddID(), xmlAddNotationDecl(), xmlAddRef(), xmlBufCreate(), xmlBufCreateSize(), xmlBufCreateStatic(), xmlBufFromBuffer(), xmlCopyDocElementContent(), xmlCreateEnumeration(), xmlCreateIOParserCtxt(), xmlCreateURI(), xmlCtxtGrowAttrs(), xmlDictAddQString(), xmlDictAddString(), xmlDictCreate(), xmlDictGrow(), xmlDictLookup(), xmlDictQLookup(), xmlFindCharEncodingHandler(), xmlGcMemGet(), xmlGcMemSetup(), xmlGetDtdElementDesc2(), xmlHashAddEntry3(), xmlHashCreate(), xmlHashGrow(), xmlHashUpdateEntry3(), xmlInitCharEncodingHandlers(), xmlInitParserCtxt(), xmlListAppend(), xmlListCreate(), xmlListInsert(), xmlListPushBack(), xmlListPushFront(), xmlMemGet(), xmlMemSetup(), xmlNewCharEncodingHandler(), xmlNewDocElementContent(), xmlNewInputStream(), xmlNewParserCtxt(), xmlParserAddNodeInfo(), xmlSAX2ExternalSubset(), xmlSAX2TextNode(), xmlStrncatNew(), xsltAddStackElem(), xsltAllocateExtraCtxt(), xsltComputeSortResultInternal(), xsltCopyStackElem(), xsltGetInheritedNsList(), xsltLocalVariablePush(), xsltNewAttrElem(), xsltNewAttrSet(), xsltNewAttrVT(), xsltNewCompMatch(), xsltNewDecimalFormat(), xsltNewDocument(), xsltNewElemPreComp(), xsltNewExtData(), xsltNewExtDef(), xsltNewExtElement(), xsltNewExtModule(), xsltNewKeyDef(), xsltNewKeyTable(), xsltNewParserContext(), xsltNewSecurityPrefs(), xsltNewStackElem(), xsltNewStyleDocument(), xsltNewStylePreComp(), xsltNewStylesheetInternal(), xsltNewTemplate(), xsltNewTransformContext(), xsltNewUseAttrSet(), xsltPatPushState(), xsltStrxfrm(), and xsltTransformCacheCreate().

◆ xmlMallocAtomic

◆ xmlMemStrdup

◆ xmlOutputBufferCreateFilenameValue

XMLPUBVAR xmlOutputBufferCreateFilenameFunc xmlOutputBufferCreateFilenameValue

Definition at line 492 of file globals.h.

◆ xmlParserDebugEntities

◆ xmlParserInputBufferCreateFilenameValue

XMLPUBVAR xmlParserInputBufferCreateFilenameFunc xmlParserInputBufferCreateFilenameValue

Definition at line 484 of file globals.h.

◆ xmlParserVersion

XMLPUBVAR const char* xmlParserVersion

Definition at line 432 of file globals.h.

Referenced by showVersion().

◆ xmlPedanticParserDefaultValue

XMLPUBVAR int xmlPedanticParserDefaultValue

Definition at line 440 of file globals.h.

Referenced by xmlInitParserCtxt(), and xmlPedanticParserDefault().

◆ xmlRealloc

◆ xmlRegisterNodeDefaultValue

XMLPUBVAR xmlRegisterNodeFunc xmlRegisterNodeDefaultValue

Definition at line 467 of file globals.h.

Referenced by xmlSAX2AttributeNs(), and xmlSAX2StartElementNs().

◆ xmlSaveNoEmptyTags

XMLPUBVAR int xmlSaveNoEmptyTags

Definition at line 449 of file globals.h.

◆ xmlStructuredError

XMLPUBVAR xmlStructuredErrorFunc xmlStructuredError

Definition at line 345 of file globals.h.

Referenced by xmlSetStructuredErrorFunc().

◆ xmlStructuredErrorContext

XMLPUBVAR void* xmlStructuredErrorContext

Definition at line 361 of file globals.h.

Referenced by xmlSetStructuredErrorFunc().

◆ xmlSubstituteEntitiesDefaultValue

XMLPUBVAR int xmlSubstituteEntitiesDefaultValue

Definition at line 458 of file globals.h.

Referenced by xmlInitParserCtxt(), and xmlSubstituteEntitiesDefault().

◆ xmlTreeIndentString

XMLPUBVAR const char* xmlTreeIndentString

Definition at line 387 of file globals.h.

Referenced by DllMain(), and main().