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)
xmlOutputBufferCreateFilenameFunc xmlOutputBufferCreateFilenameDefault (xmlOutputBufferCreateFilenameFunc func)
Function type: xmlOutputBufferCreateFilenameFunc
xmlOutputBufferPtr xmlOutputBufferCreateFilenameFunc (const char * URI, xmlCharEncodingHandlerPtr encoder, int compression)
xmlParserInputBufferCreateFilenameFunc xmlParserInputBufferCreateFilenameDefault (xmlParserInputBufferCreateFilenameFunc func)
Function type: xmlParserInputBufferCreateFilenameFunc
xmlParserInputBufferPtr xmlParserInputBufferCreateFilenameFunc (const char * URI, xmlCharEncoding enc)
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)
xmlOutputBufferCreateFilenameFunc xmlThrDefOutputBufferCreateFilenameDefault (xmlOutputBufferCreateFilenameFunc func)
int xmlThrDefParserDebugEntities (int v)
xmlParserInputBufferCreateFilenameFunc xmlThrDefParserInputBufferCreateFilenameDefault (xmlParserInputBufferCreateFilenameFunc func)
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
xmlParserInputBufferCreateFilenameFunc xmlParserInputBufferCreateFilenameValue
xmlOutputBufferCreateFilenameFunc xmlOutputBufferCreateFilenameValue
void * xmlStructuredErrorContext
} 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)
Signature for the deregistration callback of a discarded 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: xmlOutputBufferCreateFilenameDefaultxmlOutputBufferCreateFilenameFunc xmlOutputBufferCreateFilenameDefault (xmlOutputBufferCreateFilenameFunc func)
Registers a callback for URI output file handling
func: | function pointer to the new OutputBufferCreateFilenameFunc | Returns: | the old value of the registration function |
Function type: xmlOutputBufferCreateFilenameFuncFunction type: xmlOutputBufferCreateFilenameFunc
xmlOutputBufferPtr xmlOutputBufferCreateFilenameFunc (const char * URI, xmlCharEncodingHandlerPtr encoder, int compression)
Signature for the function doing the lookup for a suitable output method corresponding to an URI. URI: | the URI to write to | encoder: | | compression: | | Returns: | the new xmlOutputBufferPtr in case of success or NULL if no method was found. |
Function: xmlParserInputBufferCreateFilenameDefaultxmlParserInputBufferCreateFilenameFunc xmlParserInputBufferCreateFilenameDefault (xmlParserInputBufferCreateFilenameFunc func)
Registers a callback for URI input file handling
func: | function pointer to the new ParserInputBufferCreateFilenameFunc | Returns: | the old value of the registration function |
Function type: xmlParserInputBufferCreateFilenameFuncFunction type: xmlParserInputBufferCreateFilenameFunc
xmlParserInputBufferPtr xmlParserInputBufferCreateFilenameFunc (const char * URI, xmlCharEncoding enc)
Signature for the function doing the lookup for a suitable input method corresponding to an URI. URI: | the URI to read from | enc: | the requested source encoding | Returns: | the new xmlParserInputBufferPtr in case of success or NULL if no method was found. |
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)
Signature for the registration callback of a created 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: xmlThrDefOutputBufferCreateFilenameDefaultxmlOutputBufferCreateFilenameFunc xmlThrDefOutputBufferCreateFilenameDefault (xmlOutputBufferCreateFilenameFunc func)
Function: xmlThrDefParserDebugEntitiesint xmlThrDefParserDebugEntities (int v)
Function: xmlThrDefParserInputBufferCreateFilenameDefaultxmlParserInputBufferCreateFilenameFunc xmlThrDefParserInputBufferCreateFilenameDefault (xmlParserInputBufferCreateFilenameFunc func)
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 |