all the global variables and thread handling for those variables is handled by this module. The bottom of this file is automatically generated by build_glob.py based on the description file global.data Table of ContentsStructure xmlGlobalState struct _xmlGlobalState
Typedef xmlGlobalState * xmlGlobalStatePtr
void xmlCleanupGlobals (void)
xmlDeregisterNodeFunc xmlDeregisterNodeDefault (xmlDeregisterNodeFunc func)
Function type: xmlDeregisterNodeFunc
void xmlDeregisterNodeFunc (xmlNodePtr node)
void xmlInitGlobals (void)
void xmlInitializeGlobalState (xmlGlobalStatePtr gs)
xmlRegisterNodeFunc xmlRegisterNodeDefault (xmlRegisterNodeFunc func)
Function type: xmlRegisterNodeFunc
void xmlRegisterNodeFunc (xmlNodePtr node)
xmlBufferAllocationScheme xmlThrDefBufferAllocScheme (xmlBufferAllocationScheme v)
int xmlThrDefDefaultBufferSize (int v)
xmlDeregisterNodeFunc xmlThrDefDeregisterNodeDefault (xmlDeregisterNodeFunc func)
int xmlThrDefDoValidityCheckingDefaultValue (int v)
int xmlThrDefGetWarningsDefaultValue (int v)
int xmlThrDefIndentTreeOutput (int v)
int xmlThrDefKeepBlanksDefaultValue (int v)
int xmlThrDefLineNumbersDefaultValue (int v)
int xmlThrDefLoadExtDtdDefaultValue (int v)
int xmlThrDefParserDebugEntities (int v)
int xmlThrDefPedanticParserDefaultValue (int v)
xmlRegisterNodeFunc xmlThrDefRegisterNodeDefault (xmlRegisterNodeFunc func)
int xmlThrDefSaveNoEmptyTags (int v)
void xmlThrDefSetGenericErrorFunc (void * ctx, xmlGenericErrorFunc handler)
void xmlThrDefSetStructuredErrorFunc (void * ctx, xmlStructuredErrorFunc handler)
int xmlThrDefSubstituteEntitiesDefaultValue (int v)
const char * xmlThrDefTreeIndentString (const char * v)
Description
Structure xmlGlobalState struct _xmlGlobalState {
const char * xmlParserVersion
xmlSAXLocator xmlDefaultSAXLocator
xmlSAXHandlerV1 xmlDefaultSAXHandler
xmlSAXHandlerV1 docbDefaultSAXHandler
xmlSAXHandlerV1 htmlDefaultSAXHandler
xmlFreeFunc xmlFree
xmlMallocFunc xmlMalloc
xmlStrdupFunc xmlMemStrdup
xmlReallocFunc xmlRealloc
xmlGenericErrorFunc xmlGenericError
xmlStructuredErrorFunc xmlStructuredError
void * xmlGenericErrorContext
int oldXMLWDcompatibility
xmlBufferAllocationScheme xmlBufferAllocScheme
int xmlDefaultBufferSize
int xmlSubstituteEntitiesDefaultValue
int xmlDoValidityCheckingDefaultValue
int xmlGetWarningsDefaultValue
int xmlKeepBlanksDefaultValue
int xmlLineNumbersDefaultValue
int xmlLoadExtDtdDefaultValue
int xmlParserDebugEntities
int xmlPedanticParserDefaultValue
int xmlSaveNoEmptyTags
int xmlIndentTreeOutput
const char * xmlTreeIndentString
xmlRegisterNodeFunc xmlRegisterNodeDefaultValue
xmlDeregisterNodeFunc xmlDeregisterNodeDefaultValue
xmlMallocFunc xmlMallocAtomic
xmlError xmlLastError
} Function: xmlCleanupGlobalsvoid xmlCleanupGlobals (void)
Additional cleanup for multi-threading
Function: xmlDeregisterNodeDefaultxmlDeregisterNodeFunc xmlDeregisterNodeDefault (xmlDeregisterNodeFunc func)
Registers a callback for node destruction
func: | function pointer to the new DeregisterNodeFunc | Returns: | the previous value of the deregistration function |
Function type: xmlDeregisterNodeFuncFunction type: xmlDeregisterNodeFunc
void xmlDeregisterNodeFunc (xmlNodePtr node)
Function: xmlInitGlobalsvoid xmlInitGlobals (void)
Additional initialisation for multi-threading
Function: xmlInitializeGlobalStatevoid xmlInitializeGlobalState (xmlGlobalStatePtr gs)
xmlInitializeGlobalState() initialize a global state with all the default values of the library.
gs: | a pointer to a newly allocated global state |
Function: xmlRegisterNodeDefaultxmlRegisterNodeFunc xmlRegisterNodeDefault (xmlRegisterNodeFunc func)
Registers a callback for node creation
func: | function pointer to the new RegisterNodeFunc | Returns: | the old value of the registration function |
Function type: xmlRegisterNodeFuncFunction type: xmlRegisterNodeFunc
void xmlRegisterNodeFunc (xmlNodePtr node)
Function: xmlThrDefBufferAllocSchemexmlBufferAllocationScheme xmlThrDefBufferAllocScheme (xmlBufferAllocationScheme v)
Function: xmlThrDefDefaultBufferSizeint xmlThrDefDefaultBufferSize (int v)
Function: xmlThrDefDeregisterNodeDefaultxmlDeregisterNodeFunc xmlThrDefDeregisterNodeDefault (xmlDeregisterNodeFunc func)
Function: xmlThrDefDoValidityCheckingDefaultValueint xmlThrDefDoValidityCheckingDefaultValue (int v)
Function: xmlThrDefGetWarningsDefaultValueint xmlThrDefGetWarningsDefaultValue (int v)
Function: xmlThrDefIndentTreeOutputint xmlThrDefIndentTreeOutput (int v)
Function: xmlThrDefKeepBlanksDefaultValueint xmlThrDefKeepBlanksDefaultValue (int v)
Function: xmlThrDefLineNumbersDefaultValueint xmlThrDefLineNumbersDefaultValue (int v)
Function: xmlThrDefLoadExtDtdDefaultValueint xmlThrDefLoadExtDtdDefaultValue (int v)
Function: xmlThrDefParserDebugEntitiesint xmlThrDefParserDebugEntities (int v)
Function: xmlThrDefPedanticParserDefaultValueint xmlThrDefPedanticParserDefaultValue (int v)
Function: xmlThrDefRegisterNodeDefaultxmlRegisterNodeFunc xmlThrDefRegisterNodeDefault (xmlRegisterNodeFunc func)
Function: xmlThrDefSaveNoEmptyTagsint xmlThrDefSaveNoEmptyTags (int v)
Function: xmlThrDefSetGenericErrorFuncvoid xmlThrDefSetGenericErrorFunc (void * ctx, xmlGenericErrorFunc handler)
Function: xmlThrDefSetStructuredErrorFuncvoid xmlThrDefSetStructuredErrorFunc (void * ctx, xmlStructuredErrorFunc handler)
Function: xmlThrDefSubstituteEntitiesDefaultValueint xmlThrDefSubstituteEntitiesDefaultValue (int v)
Function: xmlThrDefTreeIndentStringconst char * xmlThrDefTreeIndentString (const char * v)
Daniel Veillard |