/
opt
/
cpanel
/
ea-libxml2
/
include
/
libxml2
/
libxml
/
/opt/cpanel/ea-libxml2/include/libxml2/libxml
mkdir
upload
Name
Size
Mode
Actions
c14n.h
2677
0644
edit
dl
rm
catalog.h
5075
0644
edit
dl
rm
chvalid.h
4821
0644
edit
dl
rm
debugXML.h
1655
0644
edit
dl
rm
dict.h
1780
0644
edit
dl
rm
encoding.h
9863
0644
edit
dl
rm
entities.h
4379
0644
edit
dl
rm
globals.h
591
0644
edit
dl
rm
hash.h
6962
0644
edit
dl
rm
HTMLparser.h
10612
0644
edit
dl
rm
HTMLtree.h
2700
0644
edit
dl
rm
list.h
3140
0644
edit
dl
rm
nanoftp.h
323
0644
edit
dl
rm
nanohttp.h
2144
0644
edit
dl
rm
parser.h
60306
0644
edit
dl
rm
parserInternals.h
13849
0644
edit
dl
rm
pattern.h
2603
0644
edit
dl
rm
relaxng.h
6150
0644
edit
dl
rm
SAX.h
395
0644
edit
dl
rm
SAX2.h
4235
0644
edit
dl
rm
schemasInternals.h
23260
0644
edit
dl
rm
schematron.h
4259
0644
edit
dl
rm
threads.h
1568
0644
edit
dl
rm
tree.h
40243
0644
edit
dl
rm
uri.h
2727
0644
edit
dl
rm
valid.h
11888
0644
edit
dl
rm
xinclude.h
2875
0644
edit
dl
rm
xlink.h
5156
0644
edit
dl
rm
xmlautomata.h
3889
0644
edit
dl
rm
xmlerror.h
39335
0644
edit
dl
rm
xmlexports.h
2414
0644
edit
dl
rm
xmlIO.h
11594
0644
edit
dl
rm
xmlmemory.h
5050
0644
edit
dl
rm
xmlmodule.h
1158
0644
edit
dl
rm
xmlreader.h
12531
0644
edit
dl
rm
xmlregexp.h
2453
0644
edit
dl
rm
xmlsave.h
3476
0644
edit
dl
rm
xmlschemas.h
6930
0644
edit
dl
rm
xmlschemastypes.h
4542
0644
edit
dl
rm
xmlstring.h
5248
0644
edit
dl
rm
xmlunicode.h
281
0644
edit
dl
rm
xmlversion.h
3994
0644
edit
dl
rm
xmlwriter.h
20472
0644
edit
dl
rm
xpath.h
14756
0644
edit
dl
rm
xpathInternals.h
17776
0644
edit
dl
rm
xpointer.h
930
0644
edit
dl
rm
Edit:
/opt/cpanel/ea-libxml2/include/libxml2/libxml/xmlmemory.h
(5050B)
/** * @file * * @brief interface for the memory allocator * * provides interfaces for the memory allocator, * including debugging capabilities. * * @copyright See Copyright for the status of this software. * * @author Daniel Veillard */ #ifndef __DEBUG_MEMORY_ALLOC__ #define __DEBUG_MEMORY_ALLOC__ #include <stdio.h> #include <libxml/xmlversion.h> #ifdef __cplusplus extern "C" { #endif /* * The XML memory wrapper support 4 basic overloadable functions. */ /** * Signature for a free() implementation. * * @param mem an already allocated block of memory */ typedef void (*xmlFreeFunc)(void *mem); /** * Signature for a malloc() implementation. * * @param size the size requested in bytes * @returns a pointer to the newly allocated block or NULL in case of error. */ typedef void *(*xmlMallocFunc)(size_t size) LIBXML_ATTR_ALLOC_SIZE(1); /** * Signature for a realloc() implementation. * * @param mem an already allocated block of memory * @param size the new size requested in bytes * @returns a pointer to the newly reallocated block or NULL in case of error. */ typedef void *(*xmlReallocFunc)(void *mem, size_t size); /** * Signature for an strdup() implementation. * * @param str a zero terminated string * @returns the copy of the string or NULL in case of error. */ typedef char *(*xmlStrdupFunc)(const char *str); /* * In general the memory allocation entry points are not kept * thread specific but this can be overridden by LIBXML_THREAD_ALLOC_ENABLED * - xmlMalloc * - xmlMallocAtomic * - xmlRealloc * - xmlMemStrdup * - xmlFree */ #ifdef LIBXML_THREAD_ALLOC_ENABLED XMLPUBFUN xmlMallocFunc *__xmlMalloc(void); XMLPUBFUN xmlMallocFunc *__xmlMallocAtomic(void); XMLPUBFUN xmlReallocFunc *__xmlRealloc(void); XMLPUBFUN xmlFreeFunc *__xmlFree(void); XMLPUBFUN xmlStrdupFunc *__xmlMemStrdup(void); #ifndef XML_GLOBALS_NO_REDEFINITION #define xmlMalloc (*__xmlMalloc()) #define xmlMallocAtomic (*__xmlMallocAtomic()) #define xmlRealloc (*__xmlRealloc()) #define xmlFree (*__xmlFree()) #define xmlMemStrdup (*__xmlMemStrdup()) #endif #else /** * The variable holding the libxml malloc() implementation */ XMLPUBVAR xmlMallocFunc xmlMalloc; /** * The variable holding the libxml malloc() implementation for atomic * data (i.e. blocks not containing pointers), useful when using a * garbage collecting allocator. * * @deprecated Use #xmlMalloc */ XMLPUBVAR xmlMallocFunc xmlMallocAtomic; /** * The variable holding the libxml realloc() implementation */ XMLPUBVAR xmlReallocFunc xmlRealloc; /** * The variable holding the libxml free() implementation */ XMLPUBVAR xmlFreeFunc xmlFree; /** * The variable holding the libxml strdup() implementation */ XMLPUBVAR xmlStrdupFunc xmlMemStrdup; #endif /* * The way to overload the existing functions. * The xmlGc function have an extra entry for atomic block * allocations useful for garbage collected memory allocators */ XMLPUBFUN int xmlMemSetup (xmlFreeFunc freeFunc, xmlMallocFunc mallocFunc, xmlReallocFunc reallocFunc, xmlStrdupFunc strdupFunc); XMLPUBFUN int xmlMemGet (xmlFreeFunc *freeFunc, xmlMallocFunc *mallocFunc, xmlReallocFunc *reallocFunc, xmlStrdupFunc *strdupFunc); XML_DEPRECATED XMLPUBFUN int xmlGcMemSetup (xmlFreeFunc freeFunc, xmlMallocFunc mallocFunc, xmlMallocFunc mallocAtomicFunc, xmlReallocFunc reallocFunc, xmlStrdupFunc strdupFunc); XML_DEPRECATED XMLPUBFUN int xmlGcMemGet (xmlFreeFunc *freeFunc, xmlMallocFunc *mallocFunc, xmlMallocFunc *mallocAtomicFunc, xmlReallocFunc *reallocFunc, xmlStrdupFunc *strdupFunc); /* * Initialization of the memory layer. */ XML_DEPRECATED XMLPUBFUN int xmlInitMemory (void); /* * Cleanup of the memory layer. */ XML_DEPRECATED XMLPUBFUN void xmlCleanupMemory (void); /* * These are specific to the XML debug memory wrapper. */ XMLPUBFUN size_t xmlMemSize (void *ptr); XMLPUBFUN int xmlMemUsed (void); XMLPUBFUN int xmlMemBlocks (void); XML_DEPRECATED XMLPUBFUN void xmlMemDisplay (FILE *fp); XML_DEPRECATED XMLPUBFUN void xmlMemDisplayLast(FILE *fp, long nbBytes); XML_DEPRECATED XMLPUBFUN void xmlMemShow (FILE *fp, int nr); XML_DEPRECATED XMLPUBFUN void xmlMemoryDump (void); XMLPUBFUN void * xmlMemMalloc (size_t size) LIBXML_ATTR_ALLOC_SIZE(1); XMLPUBFUN void * xmlMemRealloc (void *ptr,size_t size); XMLPUBFUN void xmlMemFree (void *ptr); XMLPUBFUN char * xmlMemoryStrdup (const char *str); XML_DEPRECATED XMLPUBFUN void * xmlMallocLoc (size_t size, const char *file, int line) LIBXML_ATTR_ALLOC_SIZE(1); XML_DEPRECATED XMLPUBFUN void * xmlReallocLoc (void *ptr, size_t size, const char *file, int line); XML_DEPRECATED XMLPUBFUN void * xmlMallocAtomicLoc (size_t size, const char *file, int line) LIBXML_ATTR_ALLOC_SIZE(1); XML_DEPRECATED XMLPUBFUN char * xmlMemStrdupLoc (const char *str, const char *file, int line); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __DEBUG_MEMORY_ALLOC__ */
Save
cmd:
run