Details
struct xmlGlobalState
struct xmlGlobalState
{
const char *xmlParserVersion;
xmlSAXLocator xmlDefaultSAXLocator;
xmlSAXHandler xmlDefaultSAXHandler;
xmlSAXHandler docbDefaultSAXHandler;
xmlSAXHandler htmlDefaultSAXHandler;
xmlFreeFunc xmlFree;
xmlMallocFunc xmlMalloc;
xmlStrdupFunc xmlMemStrdup;
xmlReallocFunc xmlRealloc;
xmlGenericErrorFunc xmlGenericError;
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;
}; |
xmlGlobalStatePtr
typedef xmlGlobalState *xmlGlobalStatePtr; |
xmlInitializeGlobalState ()
xmlInitializeGlobalState() initialize a global state with all the
default values of the library.
xmlMalloc()
Wrapper for the malloc() function used in the XML library
xmlRealloc()
#define xmlRealloc(ptr, size) |
Wrapper for the realloc() function used in the XML library
xmlMemStrdup()
#define xmlMemStrdup(str) |
Wrapper for the strdup() function, xmlStrdup() is usually preferred
docbDefaultSAXHandler
#define docbDefaultSAXHandler |
htmlDefaultSAXHandler
#define htmlDefaultSAXHandler |
oldXMLWDcompatibility
#define oldXMLWDcompatibility |
xmlBufferAllocScheme
#define xmlBufferAllocScheme |
xmlDefaultBufferSize
#define xmlDefaultBufferSize |
xmlDefaultSAXHandler
#define xmlDefaultSAXHandler |
xmlDefaultSAXLocator
#define xmlDefaultSAXLocator |
xmlDoValidityCheckingDefaultValue
#define xmlDoValidityCheckingDefaultValue |
xmlGenericErrorContext
#define xmlGenericErrorContext |
xmlGetWarningsDefaultValue
#define xmlGetWarningsDefaultValue |
xmlIndentTreeOutput
#define xmlIndentTreeOutput |
xmlKeepBlanksDefaultValue
#define xmlKeepBlanksDefaultValue |
xmlLineNumbersDefaultValue
#define xmlLineNumbersDefaultValue |
xmlLoadExtDtdDefaultValue
#define xmlLoadExtDtdDefaultValue |
xmlParserDebugEntities
#define xmlParserDebugEntities |
xmlPedanticParserDefaultValue
#define xmlPedanticParserDefaultValue |
xmlSaveNoEmptyTags
#define xmlSaveNoEmptyTags |
xmlSubstituteEntitiesDefaultValue
#define xmlSubstituteEntitiesDefaultValue |
global variable controlling the entity substitution default behaviour