Blame doc/html/libxml-globals.html

Packit Service a31ea6
Packit Service a31ea6
Packit Service a31ea6
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><link rel="SHORTCUT ICON" href="/favicon.ico" /><style type="text/css">
Packit Service a31ea6
TD {font-family: Verdana,Arial,Helvetica}
Packit Service a31ea6
BODY {font-family: Verdana,Arial,Helvetica; margin-top: 2em; margin-left: 0em; margin-right: 0em}
Packit Service a31ea6
H1 {font-family: Verdana,Arial,Helvetica}
Packit Service a31ea6
H2 {font-family: Verdana,Arial,Helvetica}
Packit Service a31ea6
H3 {font-family: Verdana,Arial,Helvetica}
Packit Service a31ea6
A:link, A:visited, A:active { text-decoration: underline }
Packit Service a31ea6
</style><style type="text/css">
Packit Service a31ea6
      div.deprecated pre.programlisting {border-style: double;border-color:red}
Packit Service a31ea6
      pre.programlisting {border-style: double;background: #EECFA1}
Packit Service a31ea6
    </style><title>Module globals from libxml2</title></head><body bgcolor="#8b7765" text="#000000" link="#a06060" vlink="#000000">
Action against software patentsGnome2 LogoW3C LogoRed Hat Logo
Made with Libxml2 Logo

Module globals from libxml2

<center>API Menu</center>
<form action="../search.php" enctype="application/x-www-form-urlencoded" method="get"><input name="query" type="text" size="20" value="" /><input name="submit" type="submit" value="Search ..." /></form>
<center>API Indexes</center>
<center>Related links</center>

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 Contents

Structure xmlGlobalState
struct _xmlGlobalState
Packit Service a31ea6
Typedef xmlGlobalState * xmlGlobalStatePtr
Packit Service a31ea6
void	xmlCleanupGlobals		(void)
Packit Service a31ea6
xmlDeregisterNodeFunc	xmlDeregisterNodeDefault	(xmlDeregisterNodeFunc func)
Packit Service a31ea6
Function type: xmlDeregisterNodeFunc
Packit Service a31ea6
void	xmlDeregisterNodeFunc		(xmlNodePtr node)
Packit Service a31ea6
Packit Service a31ea6
void	xmlInitGlobals			(void)
Packit Service a31ea6
void	xmlInitializeGlobalState	(xmlGlobalStatePtr gs)
Packit Service a31ea6
xmlOutputBufferCreateFilenameFunc	xmlOutputBufferCreateFilenameDefault	(xmlOutputBufferCreateFilenameFunc func)
Packit Service a31ea6
Function type: xmlOutputBufferCreateFilenameFunc
Packit Service a31ea6
xmlOutputBufferPtr	xmlOutputBufferCreateFilenameFunc	(const char * URI, 
xmlCharEncodingHandlerPtr encoder,
int compression)
Packit Service a31ea6
Packit Service a31ea6
xmlParserInputBufferCreateFilenameFunc	xmlParserInputBufferCreateFilenameDefault	(xmlParserInputBufferCreateFilenameFunc func)
Packit Service a31ea6
Function type: xmlParserInputBufferCreateFilenameFunc
Packit Service a31ea6
xmlParserInputBufferPtr	xmlParserInputBufferCreateFilenameFunc	(const char * URI, 
xmlCharEncoding enc)
Packit Service a31ea6
Packit Service a31ea6
xmlRegisterNodeFunc	xmlRegisterNodeDefault	(xmlRegisterNodeFunc func)
Packit Service a31ea6
Function type: xmlRegisterNodeFunc
Packit Service a31ea6
void	xmlRegisterNodeFunc		(xmlNodePtr node)
Packit Service a31ea6
Packit Service a31ea6
xmlBufferAllocationScheme	xmlThrDefBufferAllocScheme	(xmlBufferAllocationScheme v)
Packit Service a31ea6
int	xmlThrDefDefaultBufferSize	(int v)
Packit Service a31ea6
xmlDeregisterNodeFunc	xmlThrDefDeregisterNodeDefault	(xmlDeregisterNodeFunc func)
Packit Service a31ea6
int	xmlThrDefDoValidityCheckingDefaultValue	(int v)
Packit Service a31ea6
int	xmlThrDefGetWarningsDefaultValue	(int v)
Packit Service a31ea6
int	xmlThrDefIndentTreeOutput	(int v)
Packit Service a31ea6
int	xmlThrDefKeepBlanksDefaultValue	(int v)
Packit Service a31ea6
int	xmlThrDefLineNumbersDefaultValue	(int v)
Packit Service a31ea6
int	xmlThrDefLoadExtDtdDefaultValue	(int v)
Packit Service a31ea6
xmlOutputBufferCreateFilenameFunc	xmlThrDefOutputBufferCreateFilenameDefault	(xmlOutputBufferCreateFilenameFunc func)
Packit Service a31ea6
int	xmlThrDefParserDebugEntities	(int v)
Packit Service a31ea6
xmlParserInputBufferCreateFilenameFunc	xmlThrDefParserInputBufferCreateFilenameDefault	(xmlParserInputBufferCreateFilenameFunc func)
Packit Service a31ea6
int	xmlThrDefPedanticParserDefaultValue	(int v)
Packit Service a31ea6
xmlRegisterNodeFunc	xmlThrDefRegisterNodeDefault	(xmlRegisterNodeFunc func)
Packit Service a31ea6
int	xmlThrDefSaveNoEmptyTags	(int v)
Packit Service a31ea6
void	xmlThrDefSetGenericErrorFunc	(void * ctx, 
xmlGenericErrorFunc handler)
Packit Service a31ea6
void	xmlThrDefSetStructuredErrorFunc	(void * ctx, 
xmlStructuredErrorFunc handler)
Packit Service a31ea6
int	xmlThrDefSubstituteEntitiesDefaultValue	(int v)
Packit Service a31ea6
const char *	xmlThrDefTreeIndentString	(const char * v)
Packit Service a31ea6

Description

Packit Service a31ea6

Structure xmlGlobalState

Structure xmlGlobalState
struct _xmlGlobalState {
Packit Service a31ea6
    const char *	xmlParserVersion
Packit Service a31ea6
    xmlSAXLocator	xmlDefaultSAXLocator
Packit Service a31ea6
    xmlSAXHandlerV1	xmlDefaultSAXHandler
Packit Service a31ea6
    xmlSAXHandlerV1	docbDefaultSAXHandler
Packit Service a31ea6
    xmlSAXHandlerV1	htmlDefaultSAXHandler
Packit Service a31ea6
    xmlFreeFunc	xmlFree
Packit Service a31ea6
    xmlMallocFunc	xmlMalloc
Packit Service a31ea6
    xmlStrdupFunc	xmlMemStrdup
Packit Service a31ea6
    xmlReallocFunc	xmlRealloc
Packit Service a31ea6
    xmlGenericErrorFunc	xmlGenericError
Packit Service a31ea6
    xmlStructuredErrorFunc	xmlStructuredError
Packit Service a31ea6
    void *	xmlGenericErrorContext
Packit Service a31ea6
    int	oldXMLWDcompatibility
Packit Service a31ea6
    xmlBufferAllocationScheme	xmlBufferAllocScheme
Packit Service a31ea6
    int	xmlDefaultBufferSize
Packit Service a31ea6
    int	xmlSubstituteEntitiesDefaultValue
Packit Service a31ea6
    int	xmlDoValidityCheckingDefaultValue
Packit Service a31ea6
    int	xmlGetWarningsDefaultValue
Packit Service a31ea6
    int	xmlKeepBlanksDefaultValue
Packit Service a31ea6
    int	xmlLineNumbersDefaultValue
Packit Service a31ea6
    int	xmlLoadExtDtdDefaultValue
Packit Service a31ea6
    int	xmlParserDebugEntities
Packit Service a31ea6
    int	xmlPedanticParserDefaultValue
Packit Service a31ea6
    int	xmlSaveNoEmptyTags
Packit Service a31ea6
    int	xmlIndentTreeOutput
Packit Service a31ea6
    const char *	xmlTreeIndentString
Packit Service a31ea6
    xmlRegisterNodeFunc	xmlRegisterNodeDefaultValue
Packit Service a31ea6
    xmlDeregisterNodeFunc	xmlDeregisterNodeDefaultValue
Packit Service a31ea6
    xmlMallocFunc	xmlMallocAtomic
Packit Service a31ea6
    xmlError	xmlLastError
Packit Service a31ea6
    xmlParserInputBufferCreateFilenameFunc	xmlParserInputBufferCreateFilenameValue
Packit Service a31ea6
    xmlOutputBufferCreateFilenameFunc	xmlOutputBufferCreateFilenameValue
Packit Service a31ea6
    void *	xmlStructuredErrorContext
Packit Service a31ea6
}

Function: xmlCleanupGlobals

void	xmlCleanupGlobals		(void)
Packit Service a31ea6

Additional cleanup for multi-threading

Packit Service a31ea6

Function: xmlDeregisterNodeDefault

xmlDeregisterNodeFunc	xmlDeregisterNodeDefault	(xmlDeregisterNodeFunc func)
Packit Service a31ea6

Registers a callback for node destruction

Packit Service a31ea6
<tt>func</tt>:function pointer to the new DeregisterNodeFunc
<tt>Returns</tt>:the previous value of the deregistration function

Function type: xmlDeregisterNodeFunc

Function type: xmlDeregisterNodeFunc
Packit Service a31ea6
void	xmlDeregisterNodeFunc		(xmlNodePtr node)
Packit Service a31ea6

Signature for the deregistration callback of a discarded node

<tt>node</tt>:the current node

Packit Service a31ea6

Function: xmlInitGlobals

void	xmlInitGlobals			(void)
Packit Service a31ea6

Additional initialisation for multi-threading

Packit Service a31ea6

Function: xmlInitializeGlobalState

void	xmlInitializeGlobalState	(xmlGlobalStatePtr gs)
Packit Service a31ea6

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

Packit Service a31ea6
<tt>gs</tt>:a pointer to a newly allocated global state

Function: xmlOutputBufferCreateFilenameDefault

xmlOutputBufferCreateFilenameFunc	xmlOutputBufferCreateFilenameDefault	(xmlOutputBufferCreateFilenameFunc func)
Packit Service a31ea6

Registers a callback for URI output file handling

Packit Service a31ea6
<tt>func</tt>:function pointer to the new OutputBufferCreateFilenameFunc
<tt>Returns</tt>:the old value of the registration function

Function type: xmlOutputBufferCreateFilenameFunc

Function type: xmlOutputBufferCreateFilenameFunc
Packit Service a31ea6
xmlOutputBufferPtr	xmlOutputBufferCreateFilenameFunc	(const char * URI, 
xmlCharEncodingHandlerPtr encoder,
int compression)
Packit Service a31ea6

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

<tt>URI</tt>:the URI to write to
<tt>encoder</tt>:
<tt>compression</tt>:
<tt>Returns</tt>:the new xmlOutputBufferPtr in case of success or NULL if no method was found.

Packit Service a31ea6

Function: xmlParserInputBufferCreateFilenameDefault

xmlParserInputBufferCreateFilenameFunc	xmlParserInputBufferCreateFilenameDefault	(xmlParserInputBufferCreateFilenameFunc func)
Packit Service a31ea6

Registers a callback for URI input file handling

Packit Service a31ea6
<tt>func</tt>:function pointer to the new ParserInputBufferCreateFilenameFunc
<tt>Returns</tt>:the old value of the registration function

Function type: xmlParserInputBufferCreateFilenameFunc

Function type: xmlParserInputBufferCreateFilenameFunc
Packit Service a31ea6
xmlParserInputBufferPtr	xmlParserInputBufferCreateFilenameFunc	(const char * URI, 
xmlCharEncoding enc)
Packit Service a31ea6

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

<tt>URI</tt>:the URI to read from
<tt>enc</tt>:the requested source encoding
<tt>Returns</tt>:the new xmlParserInputBufferPtr in case of success or NULL if no method was found.

Packit Service a31ea6

Function: xmlRegisterNodeDefault

xmlRegisterNodeFunc	xmlRegisterNodeDefault	(xmlRegisterNodeFunc func)
Packit Service a31ea6

Registers a callback for node creation

Packit Service a31ea6
<tt>func</tt>:function pointer to the new RegisterNodeFunc
<tt>Returns</tt>:the old value of the registration function

Function type: xmlRegisterNodeFunc

Function type: xmlRegisterNodeFunc
Packit Service a31ea6
void	xmlRegisterNodeFunc		(xmlNodePtr node)
Packit Service a31ea6

Signature for the registration callback of a created node

<tt>node</tt>:the current node

Packit Service a31ea6

Function: xmlThrDefBufferAllocScheme

xmlBufferAllocationScheme	xmlThrDefBufferAllocScheme	(xmlBufferAllocationScheme v)
Packit Service a31ea6

Packit Service a31ea6
<tt>v</tt>:
<tt>Returns</tt>:

Function: xmlThrDefDefaultBufferSize

int	xmlThrDefDefaultBufferSize	(int v)
Packit Service a31ea6

Packit Service a31ea6
<tt>v</tt>:
<tt>Returns</tt>:

Function: xmlThrDefDeregisterNodeDefault

xmlDeregisterNodeFunc	xmlThrDefDeregisterNodeDefault	(xmlDeregisterNodeFunc func)
Packit Service a31ea6

Packit Service a31ea6
<tt>func</tt>:
<tt>Returns</tt>:

Function: xmlThrDefDoValidityCheckingDefaultValue

int	xmlThrDefDoValidityCheckingDefaultValue	(int v)
Packit Service a31ea6

Packit Service a31ea6
<tt>v</tt>:
<tt>Returns</tt>:

Function: xmlThrDefGetWarningsDefaultValue

int	xmlThrDefGetWarningsDefaultValue	(int v)
Packit Service a31ea6

Packit Service a31ea6
<tt>v</tt>:
<tt>Returns</tt>:

Function: xmlThrDefIndentTreeOutput

int	xmlThrDefIndentTreeOutput	(int v)
Packit Service a31ea6

Packit Service a31ea6
<tt>v</tt>:
<tt>Returns</tt>:

Function: xmlThrDefKeepBlanksDefaultValue

int	xmlThrDefKeepBlanksDefaultValue	(int v)
Packit Service a31ea6

Packit Service a31ea6
<tt>v</tt>:
<tt>Returns</tt>:

Function: xmlThrDefLineNumbersDefaultValue

int	xmlThrDefLineNumbersDefaultValue	(int v)
Packit Service a31ea6

Packit Service a31ea6
<tt>v</tt>:
<tt>Returns</tt>:

Function: xmlThrDefLoadExtDtdDefaultValue

int	xmlThrDefLoadExtDtdDefaultValue	(int v)
Packit Service a31ea6

Packit Service a31ea6
<tt>v</tt>:
<tt>Returns</tt>:

Function: xmlThrDefOutputBufferCreateFilenameDefault

xmlOutputBufferCreateFilenameFunc	xmlThrDefOutputBufferCreateFilenameDefault	(xmlOutputBufferCreateFilenameFunc func)
Packit Service a31ea6

Packit Service a31ea6
<tt>func</tt>:
<tt>Returns</tt>:

Function: xmlThrDefParserDebugEntities

int	xmlThrDefParserDebugEntities	(int v)
Packit Service a31ea6

Packit Service a31ea6
<tt>v</tt>:
<tt>Returns</tt>:

Function: xmlThrDefParserInputBufferCreateFilenameDefault

xmlParserInputBufferCreateFilenameFunc	xmlThrDefParserInputBufferCreateFilenameDefault	(xmlParserInputBufferCreateFilenameFunc func)
Packit Service a31ea6

Packit Service a31ea6
<tt>func</tt>:
<tt>Returns</tt>:

Function: xmlThrDefPedanticParserDefaultValue

int	xmlThrDefPedanticParserDefaultValue	(int v)
Packit Service a31ea6

Packit Service a31ea6
<tt>v</tt>:
<tt>Returns</tt>:

Function: xmlThrDefRegisterNodeDefault

xmlRegisterNodeFunc	xmlThrDefRegisterNodeDefault	(xmlRegisterNodeFunc func)
Packit Service a31ea6

Packit Service a31ea6
<tt>func</tt>:
<tt>Returns</tt>:

Function: xmlThrDefSaveNoEmptyTags

int	xmlThrDefSaveNoEmptyTags	(int v)
Packit Service a31ea6

Packit Service a31ea6
<tt>v</tt>:
<tt>Returns</tt>:

Function: xmlThrDefSetGenericErrorFunc

void	xmlThrDefSetGenericErrorFunc	(void * ctx, 
xmlGenericErrorFunc handler)
Packit Service a31ea6

Packit Service a31ea6
<tt>ctx</tt>:
<tt>handler</tt>:

Function: xmlThrDefSetStructuredErrorFunc

void	xmlThrDefSetStructuredErrorFunc	(void * ctx, 
xmlStructuredErrorFunc handler)
Packit Service a31ea6

Packit Service a31ea6
<tt>ctx</tt>:
<tt>handler</tt>:

Function: xmlThrDefSubstituteEntitiesDefaultValue

int	xmlThrDefSubstituteEntitiesDefaultValue	(int v)
Packit Service a31ea6

Packit Service a31ea6
<tt>v</tt>:
<tt>Returns</tt>:

Function: xmlThrDefTreeIndentString

const char *	xmlThrDefTreeIndentString	(const char * v)
Packit Service a31ea6

Packit Service a31ea6
<tt>v</tt>:
<tt>Returns</tt>:

Daniel Veillard

</body></html>