  
    
    
    
    
    
    
    
  
  
    
      
        
          
libxml2-entities.html            
Prev          
        
        
          
general.html            
Up          
        
        
          
index.html            
Home          
        
        
          
libxml2-hash.html            
Next          
        
        
libxml2 Reference Manual      
    
    
      
globals    
    
globals - interface for all global variables of the library
    
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 
    
Author(s): Gary Pennington <Gary.Pennington@uk.sun.com>, Daniel Veillard 
    
      
Synopsis
      
typedef libxml2-globals.html#xmlGlobalStatexmlGlobalState  * #xmlGlobalStatePtrxmlGlobalStatePtr ;
typedef struct _xmlGlobalState 
#xmlGlobalStatexmlGlobalState ;
void	
#xmlThrDefSetStructuredErrorFuncxmlThrDefSetStructuredErrorFunc 	(void * ctx, 					 libxml2-xmlerror.html#xmlStructuredErrorFuncxmlStructuredErrorFunc  handler);
void	
#xmlInitializeGlobalStatexmlInitializeGlobalState 	( libxml2-globals.html#xmlGlobalStatePtrxmlGlobalStatePtr  gs);
libxml2-tree.html#xmlBufferAllocationSchemexmlBufferAllocationScheme 	#xmlThrDefBufferAllocSchemexmlThrDefBufferAllocScheme 	( libxml2-tree.html#xmlBufferAllocationSchemexmlBufferAllocationScheme  v);
int	
#xmlThrDefPedanticParserDefaultValuexmlThrDefPedanticParserDefaultValue 	(int v);
libxml2-globals.html#xmlRegisterNodeFuncxmlRegisterNodeFunc 	#xmlRegisterNodeDefaultxmlRegisterNodeDefault 	( libxml2-globals.html#xmlRegisterNodeFuncxmlRegisterNodeFunc  func);
typedef 
libxml2-tree.html#xmlParserInputBufferPtrxmlParserInputBufferPtr  #xmlParserInputBufferCreateFilenameFuncxmlParserInputBufferCreateFilenameFunc 	(const char * URI, 							 libxml2-encoding.html#xmlCharEncodingxmlCharEncoding  enc);
libxml2-globals.html#xmlOutputBufferCreateFilenameFuncxmlOutputBufferCreateFilenameFunc 	#xmlThrDefOutputBufferCreateFilenameDefaultxmlThrDefOutputBufferCreateFilenameDefault 	( libxml2-globals.html#xmlOutputBufferCreateFilenameFuncxmlOutputBufferCreateFilenameFunc  func);
libxml2-globals.html#xmlDeregisterNodeFuncxmlDeregisterNodeFunc 	#xmlDeregisterNodeDefaultxmlDeregisterNodeDefault 	( libxml2-globals.html#xmlDeregisterNodeFuncxmlDeregisterNodeFunc  func);
int	
#xmlThrDefDefaultBufferSizexmlThrDefDefaultBufferSize 	(int v);
libxml2-globals.html#xmlOutputBufferCreateFilenameFuncxmlOutputBufferCreateFilenameFunc 	#xmlOutputBufferCreateFilenameDefaultxmlOutputBufferCreateFilenameDefault 	( libxml2-globals.html#xmlOutputBufferCreateFilenameFuncxmlOutputBufferCreateFilenameFunc  func);
int	
#xmlThrDefLoadExtDtdDefaultValuexmlThrDefLoadExtDtdDefaultValue 	(int v);
libxml2-globals.html#xmlRegisterNodeFuncxmlRegisterNodeFunc 	#xmlThrDefRegisterNodeDefaultxmlThrDefRegisterNodeDefault 	( libxml2-globals.html#xmlRegisterNodeFuncxmlRegisterNodeFunc  func);
int	
#xmlThrDefKeepBlanksDefaultValuexmlThrDefKeepBlanksDefaultValue 	(int v);
typedef void 
#xmlDeregisterNodeFuncxmlDeregisterNodeFunc 		( libxml2-tree.html#xmlNodePtrxmlNodePtr  node);
int	
#xmlThrDefParserDebugEntitiesxmlThrDefParserDebugEntities 	(int v);
libxml2-globals.html#xmlParserInputBufferCreateFilenameFuncxmlParserInputBufferCreateFilenameFunc 	#xmlThrDefParserInputBufferCreateFilenameDefaultxmlThrDefParserInputBufferCreateFilenameDefault 	( libxml2-globals.html#xmlParserInputBufferCreateFilenameFuncxmlParserInputBufferCreateFilenameFunc  func);
void	
#xmlThrDefSetGenericErrorFuncxmlThrDefSetGenericErrorFunc 	(void * ctx, 					 libxml2-xmlerror.html#xmlGenericErrorFuncxmlGenericErrorFunc  handler);
libxml2-globals.html#xmlParserInputBufferCreateFilenameFuncxmlParserInputBufferCreateFilenameFunc 	#xmlParserInputBufferCreateFilenameDefaultxmlParserInputBufferCreateFilenameDefault 	( libxml2-globals.html#xmlParserInputBufferCreateFilenameFuncxmlParserInputBufferCreateFilenameFunc  func);
int	
#xmlThrDefDoValidityCheckingDefaultValuexmlThrDefDoValidityCheckingDefaultValue 	(int v);
void	
#xmlCleanupGlobalsxmlCleanupGlobals 		(void);
int	
#xmlThrDefGetWarningsDefaultValuexmlThrDefGetWarningsDefaultValue 	(int v);
libxml2-globals.html#xmlDeregisterNodeFuncxmlDeregisterNodeFunc 	#xmlThrDefDeregisterNodeDefaultxmlThrDefDeregisterNodeDefault 	( libxml2-globals.html#xmlDeregisterNodeFuncxmlDeregisterNodeFunc  func);
int	
#xmlThrDefSubstituteEntitiesDefaultValuexmlThrDefSubstituteEntitiesDefaultValue 	(int v);
typedef void 
#xmlRegisterNodeFuncxmlRegisterNodeFunc 		( libxml2-tree.html#xmlNodePtrxmlNodePtr  node);
int	
#xmlThrDefSaveNoEmptyTagsxmlThrDefSaveNoEmptyTags 	(int v);
int	
#xmlThrDefIndentTreeOutputxmlThrDefIndentTreeOutput 	(int v);
typedef 
libxml2-tree.html#xmlOutputBufferPtrxmlOutputBufferPtr  #xmlOutputBufferCreateFilenameFuncxmlOutputBufferCreateFilenameFunc 	(const char * URI, 							 libxml2-encoding.html#xmlCharEncodingHandlerPtrxmlCharEncodingHandlerPtr  encoder, 							 int compression);
void	
#xmlInitGlobalsxmlInitGlobals 			(void);
int	
#xmlThrDefLineNumbersDefaultValuexmlThrDefLineNumbersDefaultValue 	(int v);
const char *	
#xmlThrDefTreeIndentStringxmlThrDefTreeIndentString 	(const char * v);
    
    
      
Description
    
    
      
Details
      
        
Structure xmlGlobalState
struct _xmlGlobalState {
    const char *	xmlParserVersion
    
libxml2-tree.html#xmlSAXLocatorxmlSAXLocator 	xmlDefaultSAXLocator
    
libxml2-parser.html#xmlSAXHandlerV1xmlSAXHandlerV1 	xmlDefaultSAXHandler
    
libxml2-parser.html#xmlSAXHandlerV1xmlSAXHandlerV1 	docbDefaultSAXHandler
    
libxml2-parser.html#xmlSAXHandlerV1xmlSAXHandlerV1 	htmlDefaultSAXHandler
    
libxml2-xmlmemory.html#xmlFreeFuncxmlFreeFunc 	xmlFree
    
libxml2-xmlmemory.html#xmlMallocFuncxmlMallocFunc 	xmlMalloc
    
libxml2-xmlmemory.html#xmlStrdupFuncxmlStrdupFunc 	xmlMemStrdup
    
libxml2-xmlmemory.html#xmlReallocFuncxmlReallocFunc 	xmlRealloc
    
libxml2-xmlerror.html#xmlGenericErrorFuncxmlGenericErrorFunc 	xmlGenericError
    
libxml2-xmlerror.html#xmlStructuredErrorFuncxmlStructuredErrorFunc 	xmlStructuredError
    void *	xmlGenericErrorContext
    int	oldXMLWDcompatibility
    
libxml2-tree.html#xmlBufferAllocationSchemexmlBufferAllocationScheme 	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
    
libxml2-globals.html#xmlRegisterNodeFuncxmlRegisterNodeFunc 	xmlRegisterNodeDefaultValue
    
libxml2-globals.html#xmlDeregisterNodeFuncxmlDeregisterNodeFunc 	xmlDeregisterNodeDefaultValue
    
libxml2-xmlmemory.html#xmlMallocFuncxmlMallocFunc 	xmlMallocAtomic
    
libxml2-xmlerror.html#xmlErrorxmlError 	xmlLastError
    
libxml2-globals.html#xmlParserInputBufferCreateFilenameFuncxmlParserInputBufferCreateFilenameFunc 	xmlParserInputBufferCreateFilenameValue
    
libxml2-globals.html#xmlOutputBufferCreateFilenameFuncxmlOutputBufferCreateFilenameFunc 	xmlOutputBufferCreateFilenameValue
} xmlGlobalState;
        
        
Typedef xmlGlobalStatePtr
libxml2-globals.html#xmlGlobalStatexmlGlobalState  * xmlGlobalStatePtr;
        
        
Function type xmlDeregisterNodeFunc
void	xmlDeregisterNodeFunc		( libxml2-tree.html#xmlNodePtrxmlNodePtr  node) node:         
        
Function type xmlOutputBufferCreateFilenameFunc
libxml2-tree.html#xmlOutputBufferPtrxmlOutputBufferPtr 	xmlOutputBufferCreateFilenameFunc	(const char * URI, 							 libxml2-encoding.html#xmlCharEncodingHandlerPtrxmlCharEncodingHandlerPtr  encoder, 							 int compression) URI: encoder: compression: Returns:         
        
Function type xmlParserInputBufferCreateFilenameFunc
libxml2-tree.html#xmlParserInputBufferPtrxmlParserInputBufferPtr 	xmlParserInputBufferCreateFilenameFunc	(const char * URI, 							 libxml2-encoding.html#xmlCharEncodingxmlCharEncoding  enc) URI: enc: Returns:         
        
Function type xmlRegisterNodeFunc
void	xmlRegisterNodeFunc		( libxml2-tree.html#xmlNodePtrxmlNodePtr  node) node:         
        
Variable docbDefaultSAXHandler
libxml2-parser.html#xmlSAXHandlerV1xmlSAXHandlerV1  docbDefaultSAXHandler;
        
        
Variable htmlDefaultSAXHandler
libxml2-parser.html#xmlSAXHandlerV1xmlSAXHandlerV1  htmlDefaultSAXHandler;
        
        
Variable oldXMLWDcompatibility
int oldXMLWDcompatibility;
        
        
Variable xmlBufferAllocScheme
libxml2-tree.html#xmlBufferAllocationSchemexmlBufferAllocationScheme  xmlBufferAllocScheme;
        
        
Variable xmlDefaultBufferSize
int xmlDefaultBufferSize;
        
        
Variable xmlDefaultSAXHandler
libxml2-parser.html#xmlSAXHandlerV1xmlSAXHandlerV1  xmlDefaultSAXHandler;
        
        
Variable xmlDefaultSAXLocator
libxml2-tree.html#xmlSAXLocatorxmlSAXLocator  xmlDefaultSAXLocator;
        
        
Variable xmlDeregisterNodeDefaultValue
libxml2-globals.html#xmlDeregisterNodeFuncxmlDeregisterNodeFunc  xmlDeregisterNodeDefaultValue;
        
        
Variable xmlDoValidityCheckingDefaultValue
int xmlDoValidityCheckingDefaultValue;
        
        
Variable xmlFree
libxml2-xmlmemory.html#xmlFreeFuncxmlFreeFunc  xmlFree;
        
        
Variable xmlGenericError
libxml2-xmlerror.html#xmlGenericErrorFuncxmlGenericErrorFunc  xmlGenericError;
        
        
Variable xmlGenericErrorContext
void * xmlGenericErrorContext;
        
        
Variable xmlGetWarningsDefaultValue
int xmlGetWarningsDefaultValue;
        
        
Variable xmlIndentTreeOutput
int xmlIndentTreeOutput;
        
        
Variable xmlKeepBlanksDefaultValue
int xmlKeepBlanksDefaultValue;
        
        
Variable xmlLastError
libxml2-xmlerror.html#xmlErrorxmlError  xmlLastError;
        
        
Variable xmlLineNumbersDefaultValue
int xmlLineNumbersDefaultValue;
        
        
Variable xmlLoadExtDtdDefaultValue
int xmlLoadExtDtdDefaultValue;
        
        
Variable xmlMalloc
libxml2-xmlmemory.html#xmlMallocFuncxmlMallocFunc  xmlMalloc;
        
        
Variable xmlMallocAtomic
libxml2-xmlmemory.html#xmlMallocFuncxmlMallocFunc  xmlMallocAtomic;
        
        
Variable xmlMemStrdup
libxml2-xmlmemory.html#xmlStrdupFuncxmlStrdupFunc  xmlMemStrdup;
        
        
Variable xmlOutputBufferCreateFilenameValue
libxml2-globals.html#xmlOutputBufferCreateFilenameFuncxmlOutputBufferCreateFilenameFunc  xmlOutputBufferCreateFilenameValue;
        
        
Variable xmlParserDebugEntities
int xmlParserDebugEntities;
        
        
Variable xmlParserInputBufferCreateFilenameValue
libxml2-globals.html#xmlParserInputBufferCreateFilenameFuncxmlParserInputBufferCreateFilenameFunc  xmlParserInputBufferCreateFilenameValue;
        
        
Variable xmlParserVersion
const char * xmlParserVersion;
        
        
Variable xmlPedanticParserDefaultValue
int xmlPedanticParserDefaultValue;
        
        
Variable xmlRealloc
libxml2-xmlmemory.html#xmlReallocFuncxmlReallocFunc  xmlRealloc;
        
        
Variable xmlRegisterNodeDefaultValue
libxml2-globals.html#xmlRegisterNodeFuncxmlRegisterNodeFunc  xmlRegisterNodeDefaultValue;
        
        
Variable xmlSaveNoEmptyTags
int xmlSaveNoEmptyTags;
        
        
Variable xmlStructuredError
libxml2-xmlerror.html#xmlStructuredErrorFuncxmlStructuredErrorFunc  xmlStructuredError;
        
        
Variable xmlSubstituteEntitiesDefaultValue
int xmlSubstituteEntitiesDefaultValue;
        
        
Variable xmlTreeIndentString
const char * xmlTreeIndentString;
        
        
xmlCleanupGlobals ()
void	xmlCleanupGlobals		(void)Additional cleanup for multi-threading
        
        
xmlDeregisterNodeDefault ()
libxml2-globals.html#xmlDeregisterNodeFuncxmlDeregisterNodeFunc 	xmlDeregisterNodeDefault	( libxml2-globals.html#xmlDeregisterNodeFuncxmlDeregisterNodeFunc  func)Registers a callback for node destruction
func: function pointer to the new DeregisterNodeFunc Returns: the previous value of the deregistration function         
        
xmlInitGlobals ()
void	xmlInitGlobals			(void)Additional initialisation for multi-threading
        
        
xmlInitializeGlobalState ()
void	xmlInitializeGlobalState	( libxml2-globals.html#xmlGlobalStatePtrxmlGlobalStatePtr  gs)xmlInitializeGlobalState() initialize a global state with all the default values of the library.
gs: a pointer to a newly allocated global state         
        
xmlOutputBufferCreateFilenameDefault ()
libxml2-globals.html#xmlOutputBufferCreateFilenameFuncxmlOutputBufferCreateFilenameFunc 	xmlOutputBufferCreateFilenameDefault	( libxml2-globals.html#xmlOutputBufferCreateFilenameFuncxmlOutputBufferCreateFilenameFunc  func)Registers a callback for URI output file handling
func: function pointer to the new OutputBufferCreateFilenameFunc Returns: the old value of the registration function         
        
xmlParserInputBufferCreateFilenameDefault ()
libxml2-globals.html#xmlParserInputBufferCreateFilenameFuncxmlParserInputBufferCreateFilenameFunc 	xmlParserInputBufferCreateFilenameDefault	( libxml2-globals.html#xmlParserInputBufferCreateFilenameFuncxmlParserInputBufferCreateFilenameFunc  func)Registers a callback for URI input file handling
func: function pointer to the new ParserInputBufferCreateFilenameFunc Returns: the old value of the registration function         
        
xmlRegisterNodeDefault ()
libxml2-globals.html#xmlRegisterNodeFuncxmlRegisterNodeFunc 	xmlRegisterNodeDefault	( libxml2-globals.html#xmlRegisterNodeFuncxmlRegisterNodeFunc  func)Registers a callback for node creation
func: function pointer to the new RegisterNodeFunc Returns: the old value of the registration function         
        
xmlThrDefBufferAllocScheme ()
libxml2-tree.html#xmlBufferAllocationSchemexmlBufferAllocationScheme 	xmlThrDefBufferAllocScheme	( libxml2-tree.html#xmlBufferAllocationSchemexmlBufferAllocationScheme  v) v: Returns:         
        
xmlThrDefDefaultBufferSize ()
int	xmlThrDefDefaultBufferSize	(int v) v: Returns:         
        
xmlThrDefDeregisterNodeDefault ()
libxml2-globals.html#xmlDeregisterNodeFuncxmlDeregisterNodeFunc 	xmlThrDefDeregisterNodeDefault	( libxml2-globals.html#xmlDeregisterNodeFuncxmlDeregisterNodeFunc  func) func: Returns:         
        
xmlThrDefDoValidityCheckingDefaultValue ()
int	xmlThrDefDoValidityCheckingDefaultValue	(int v) v: Returns:         
        
xmlThrDefGetWarningsDefaultValue ()
int	xmlThrDefGetWarningsDefaultValue	(int v) v: Returns:         
        
xmlThrDefIndentTreeOutput ()
int	xmlThrDefIndentTreeOutput	(int v) v: Returns:         
        
xmlThrDefKeepBlanksDefaultValue ()
int	xmlThrDefKeepBlanksDefaultValue	(int v) v: Returns:         
        
xmlThrDefLineNumbersDefaultValue ()
int	xmlThrDefLineNumbersDefaultValue	(int v) v: Returns:         
        
xmlThrDefLoadExtDtdDefaultValue ()
int	xmlThrDefLoadExtDtdDefaultValue	(int v) v: Returns:         
        
xmlThrDefOutputBufferCreateFilenameDefault ()
libxml2-globals.html#xmlOutputBufferCreateFilenameFuncxmlOutputBufferCreateFilenameFunc 	xmlThrDefOutputBufferCreateFilenameDefault	( libxml2-globals.html#xmlOutputBufferCreateFilenameFuncxmlOutputBufferCreateFilenameFunc  func) func: Returns:         
        
xmlThrDefParserDebugEntities ()
int	xmlThrDefParserDebugEntities	(int v) v: Returns:         
        
xmlThrDefParserInputBufferCreateFilenameDefault ()
libxml2-globals.html#xmlParserInputBufferCreateFilenameFuncxmlParserInputBufferCreateFilenameFunc 	xmlThrDefParserInputBufferCreateFilenameDefault	( libxml2-globals.html#xmlParserInputBufferCreateFilenameFuncxmlParserInputBufferCreateFilenameFunc  func) func: Returns:         
        
xmlThrDefPedanticParserDefaultValue ()
int	xmlThrDefPedanticParserDefaultValue	(int v) v: Returns:         
        
xmlThrDefRegisterNodeDefault ()
libxml2-globals.html#xmlRegisterNodeFuncxmlRegisterNodeFunc 	xmlThrDefRegisterNodeDefault	( libxml2-globals.html#xmlRegisterNodeFuncxmlRegisterNodeFunc  func) func: Returns:         
        
xmlThrDefSaveNoEmptyTags ()
int	xmlThrDefSaveNoEmptyTags	(int v) v: Returns:         
        
xmlThrDefSetGenericErrorFunc ()
void	xmlThrDefSetGenericErrorFunc	(void * ctx, 					 libxml2-xmlerror.html#xmlGenericErrorFuncxmlGenericErrorFunc  handler) ctx: handler:         
        
xmlThrDefSetStructuredErrorFunc ()
void	xmlThrDefSetStructuredErrorFunc	(void * ctx, 					 libxml2-xmlerror.html#xmlStructuredErrorFuncxmlStructuredErrorFunc  handler) ctx: handler:         
        
xmlThrDefSubstituteEntitiesDefaultValue ()
int	xmlThrDefSubstituteEntitiesDefaultValue	(int v) v: Returns:         
        
xmlThrDefTreeIndentString ()
const char *	xmlThrDefTreeIndentString	(const char * v) v: Returns:         
      
    
  
