Eneboo - Documentación para desarrolladores
|
#include "libxml.h"
#include <string.h>
#include <libxml/globals.h>
#include <libxml/xmlmemory.h>
#include <libxml/threads.h>
#include <libxml/SAX.h>
#include "elfgcchack.h"
#define bottom_globals |
#define IN_LIBXML |
#define IS_MAIN_THREAD 1 |
int* __oldXMLWDcompatibility | ( | void | ) |
xmlBufferAllocationScheme* __xmlBufferAllocScheme | ( | void | ) |
int* __xmlDefaultBufferSize | ( | void | ) |
xmlSAXLocator* __xmlDefaultSAXLocator | ( | void | ) |
xmlDeregisterNodeFunc* __xmlDeregisterNodeDefaultValue | ( | void | ) |
int* __xmlDoValidityCheckingDefaultValue | ( | void | ) |
xmlGenericErrorFunc* __xmlGenericError | ( | void | ) |
void* __xmlGenericErrorContext | ( | void | ) |
int* __xmlGetWarningsDefaultValue | ( | void | ) |
int* __xmlIndentTreeOutput | ( | void | ) |
int* __xmlKeepBlanksDefaultValue | ( | void | ) |
xmlError* __xmlLastError | ( | void | ) |
int* __xmlLineNumbersDefaultValue | ( | void | ) |
int* __xmlLoadExtDtdDefaultValue | ( | void | ) |
xmlOutputBufferCreateFilenameFunc* __xmlOutputBufferCreateFilenameValue | ( | void | ) |
int* __xmlParserDebugEntities | ( | void | ) |
xmlParserInputBufferCreateFilenameFunc* __xmlParserInputBufferCreateFilenameValue | ( | void | ) |
const char* __xmlParserVersion | ( | void | ) |
int* __xmlPedanticParserDefaultValue | ( | void | ) |
xmlRegisterNodeFunc* __xmlRegisterNodeDefaultValue | ( | void | ) |
int* __xmlSaveNoEmptyTags | ( | void | ) |
xmlStructuredErrorFunc* __xmlStructuredError | ( | void | ) |
void* __xmlStructuredErrorContext | ( | void | ) |
int* __xmlSubstituteEntitiesDefaultValue | ( | void | ) |
const char* __xmlTreeIndentString | ( | void | ) |
void xmlCleanupGlobals | ( | void | ) |
xmlCleanupGlobals:
Additional cleanup for multi-threading
xmlDeregisterNodeFunc xmlDeregisterNodeDefault | ( | xmlDeregisterNodeFunc | func | ) |
xmlDeregisterNodeDefault: : function pointer to the new DeregisterNodeFunc
Registers a callback for node destruction
Returns the previous value of the deregistration function
void XMLCDECL xmlGenericErrorDefaultFunc | ( | void *ctx | ATTRIBUTE_UNUSED, |
const char * | msg, | ||
... | |||
) |
xmlGenericErrorDefaultFunc: : an error context : the message to display/transmit @...: extra parameters for the message display
Default handler for out of context error messages.
void xmlInitGlobals | ( | void | ) |
xmlInitGlobals:
Additional initialisation for multi-threading
void xmlInitializeGlobalState | ( | xmlGlobalStatePtr | gs | ) |
xmlInitializeGlobalState: : a pointer to a newly allocated global state
xmlInitializeGlobalState() initialize a global state with all the default values of the library.
xmlRegisterNodeFunc xmlRegisterNodeDefault | ( | xmlRegisterNodeFunc | func | ) |
xmlRegisterNodeDefault: : function pointer to the new RegisterNodeFunc
Registers a callback for node creation
Returns the old value of the registration function
xmlBufferAllocationScheme xmlThrDefBufferAllocScheme | ( | xmlBufferAllocationScheme | v | ) |
xmlDeregisterNodeFunc xmlThrDefDeregisterNodeDefault | ( | xmlDeregisterNodeFunc | func | ) |
xmlOutputBufferCreateFilenameFunc xmlThrDefOutputBufferCreateFilenameDefault | ( | xmlOutputBufferCreateFilenameFunc | func | ) |
xmlParserInputBufferCreateFilenameFunc xmlThrDefParserInputBufferCreateFilenameDefault | ( | xmlParserInputBufferCreateFilenameFunc | func | ) |
xmlRegisterNodeFunc xmlThrDefRegisterNodeDefault | ( | xmlRegisterNodeFunc | func | ) |
void xmlThrDefSetGenericErrorFunc | ( | void * | ctx, |
xmlGenericErrorFunc | handler | ||
) |
DOC_DISABLE : we ignore missing doc for the xmlThrDef functions, those are really internal work
void xmlThrDefSetStructuredErrorFunc | ( | void * | ctx, |
xmlStructuredErrorFunc | handler | ||
) |
const char* xmlThrDefTreeIndentString | ( | const char * | v | ) |
oldXMLWDcompatibility:
Global setting, DEPRECATED.
xmlBufferAllocationScheme xmlBufferAllocScheme = XML_BUFFER_ALLOC_EXACT |
xmlBufferAllocScheme:
Global setting, default allocation policy for buffers, default is XML_BUFFER_ALLOC_EXACT
int xmlDefaultBufferSize = BASE_BUFFER_SIZE |
xmlDefaultBufferSize:
Global setting, default buffer size. Default value is BASE_BUFFER_SIZE
xmlDefaultSAXLocator:
The default SAX Locator { getPublicId, getSystemId, getLineNumber, getColumnNumber}
xmlDoValidityCheckingDefaultValue:
Global setting, indicate that the parser should work in validating mode. Disabled by default.
xmlFreeFunc xmlFree = (xmlFreeFunc) free |
xmlFree: : an already allocated block of memory
The variable holding the libxml free() implementation
xmlGenericErrorFunc xmlGenericError = xmlGenericErrorDefaultFunc |
xmlGenericError:
Global setting: function used for generic error callbacks
void* xmlGenericErrorContext = NULL |
xmlGenericErrorContext:
Global setting passed to generic error callbacks
xmlGetWarningsDefaultValue:
Global setting, indicate that the parser should provide warnings. Activated by default.
xmlIndentTreeOutput:
Global setting, asking the serializer to indent the output tree by default Enabled by default
xmlKeepBlanksDefaultValue:
Global setting, indicate that the parser should keep all blanks nodes found in the content Activated by default, this is actually needed to have the parser conformant to the XML Recommendation, however the option is kept for some applications since this was libxml1 default behaviour.
xmlLineNumbersDefaultValue:
Global setting, indicate that the parser should store the line number in the content field of elements in the DOM tree. Disabled by default since this may not be safe for old classes of applicaton.
xmlLoadExtDtdDefaultValue:
Global setting, indicate that the parser should load DTD while not validating. Disabled by default.
xmlMallocFunc xmlMalloc = (xmlMallocFunc) malloc |
xmlMalloc: : the size requested in bytes
The variable holding the libxml malloc() implementation
Returns a pointer to the newly allocated block or NULL in case of error
xmlMallocFunc xmlMallocAtomic = (xmlMallocFunc) malloc |
xmlMallocAtomic: : the size requested in bytes
The variable holding the libxml malloc() implementation for atomic data (i.e. blocks not containings pointers), useful when using a garbage collecting allocator.
Returns a pointer to the newly allocated block or NULL in case of error
xmlStrdupFunc xmlMemStrdup = (xmlStrdupFunc) xmlStrdup |
xmlMemStrdup: : a zero terminated string
The variable holding the libxml strdup() implementation
Returns the copy of the string or NULL in case of error
xmlParserDebugEntities:
Global setting, asking the parser to print out debugging informations. while handling entities. Disabled by default
const char* xmlParserVersion = LIBXML_VERSION_STRING LIBXML_VERSION_EXTRA |
xmlParserVersion:
Constant string describing the internal version of the library
xmlPedanticParserDefaultValue:
Global setting, indicate that the parser be pedantic Disabled by default.
xmlReallocFunc xmlRealloc = (xmlReallocFunc) realloc |
xmlRealloc: : an already allocated block of memory : the new size requested in bytes
The variable holding the libxml realloc() implementation
Returns a pointer to the newly reallocated block or NULL in case of error
xmlSaveNoEmptyTags:
Global setting, asking the serializer to not output empty tags as <empty> but <empty></empty>. those two forms are undistinguishable once parsed. Disabled by default
xmlStructuredErrorFunc xmlStructuredError = NULL |
xmlStructuredError:
Global setting: function used for structured error callbacks
void* xmlStructuredErrorContext = NULL |
xmlStructuredErrorContext:
Global setting passed to structured error callbacks
xmlSubstituteEntitiesDefaultValue:
Global setting, indicate that the parser should not generate entity references but replace them with the actual content of the entity Disabled by default, this should be activated when using XPath since the XPath data model requires entities replacement and the XPath engine does not handle entities references transparently.
const char* xmlTreeIndentString = " " |
xmlTreeIndentString:
The string used to do one-level indent. By default is equal to " " (two spaces)