Eneboo - Documentación para desarrolladores
|
#include <stdio.h>
#include <libxml/xmlversion.h>
#include <libxml/globals.h>
#include <libxml/tree.h>
#include <libxml/parser.h>
#include <libxml/encoding.h>
Ir al código fuente de este archivo.
Clases | |
struct | _xmlParserInputBuffer |
'typedefs' | |
typedef void *XMLCALL | xmlInputOpenCallback (char const *filename) |
typedef char * | buffer |
typedef char int | len |
Funciones | |
typedef | int (XMLCALL *xmlInputMatchCallback)(char const *filename) |
XMLPUBFUN void XMLCALL | xmlCleanupInputCallbacks (void) |
XMLPUBFUN int XMLCALL | xmlPopInputCallbacks (void) |
XMLPUBFUN void XMLCALL | xmlRegisterDefaultInputCallbacks (void) |
XMLPUBFUN xmlParserInputBufferPtr XMLCALL | xmlAllocParserInputBuffer (xmlCharEncoding enc) |
XMLPUBFUN xmlParserInputBufferPtr XMLCALL | xmlParserInputBufferCreateFilename (const char *URI, xmlCharEncoding enc) |
XMLPUBFUN xmlParserInputBufferPtr XMLCALL | xmlParserInputBufferCreateFile (FILE *file, xmlCharEncoding enc) |
XMLPUBFUN xmlParserInputBufferPtr XMLCALL | xmlParserInputBufferCreateFd (int fd, xmlCharEncoding enc) |
XMLPUBFUN xmlParserInputBufferPtr XMLCALL | xmlParserInputBufferCreateMem (const char *mem, int size, xmlCharEncoding enc) |
XMLPUBFUN xmlParserInputBufferPtr XMLCALL | xmlParserInputBufferCreateStatic (const char *mem, int size, xmlCharEncoding enc) |
XMLPUBFUN xmlParserInputBufferPtr XMLCALL | xmlParserInputBufferCreateIO (xmlInputReadCallback ioread, xmlInputCloseCallback ioclose, void *ioctx, xmlCharEncoding enc) |
XMLPUBFUN int XMLCALL | xmlParserInputBufferRead (xmlParserInputBufferPtr in, int len) |
XMLPUBFUN int XMLCALL | xmlParserInputBufferGrow (xmlParserInputBufferPtr in, int len) |
XMLPUBFUN int XMLCALL | xmlParserInputBufferPush (xmlParserInputBufferPtr in, int len, const char *buf) |
XMLPUBFUN void XMLCALL | xmlFreeParserInputBuffer (xmlParserInputBufferPtr in) |
XMLPUBFUN char *XMLCALL | xmlParserGetDirectory (const char *filename) |
XMLPUBFUN int XMLCALL | xmlRegisterInputCallbacks (xmlInputMatchCallback matchFunc, xmlInputOpenCallback openFunc, xmlInputReadCallback readFunc, xmlInputCloseCallback closeFunc) |
xmlParserInputBufferPtr | __xmlParserInputBufferCreateFilename (const char *URI, xmlCharEncoding enc) |
XMLPUBFUN xmlParserInputPtr XMLCALL | xmlCheckHTTPInput (xmlParserCtxtPtr ctxt, xmlParserInputPtr ret) |
XMLPUBFUN xmlParserInputPtr XMLCALL | xmlNoNetExternalEntityLoader (const char *URL, const char *ID, xmlParserCtxtPtr ctxt) |
XMLPUBFUN xmlChar *XMLCALL | xmlNormalizeWindowsPath (const xmlChar *path) |
XMLPUBFUN int XMLCALL | xmlCheckFilename (const char *path) |
XMLPUBFUN int XMLCALL | xmlFileMatch (const char *filename) |
XMLPUBFUN void *XMLCALL | xmlFileOpen (const char *filename) |
XMLPUBFUN int XMLCALL | xmlFileRead (void *context, char *buffer, int len) |
XMLPUBFUN int XMLCALL | xmlFileClose (void *context) |
typedef char* buffer |
typedef void* XMLCALL xmlInputOpenCallback(char const *filename) |
xmlInputOpenCallback: : the filename or URI
Callback used in the I/O Input API to open the resource
Returns an Input context or NULL in case or error
xmlParserInputBufferPtr __xmlParserInputBufferCreateFilename | ( | const char * | URI, |
xmlCharEncoding | enc | ||
) |
typedef int | ( | XMLCALL * | xmlInputMatchCallback | ) | const |
xmlInputMatchCallback: : the filename or URI
Callback used in the I/O Input API to detect if the current handler can provide input fonctionnalities for this resource.
Returns 1 if yes and 0 if another Input module should be used
xmlInputReadCallback: : an Input context : the buffer to store data read : the length of the buffer in bytes
Callback used in the I/O Input API to read the resource
Returns the number of bytes read or -1 in case of error
xmlInputCloseCallback: : an Input context
Callback used in the I/O Input API to close the resource
Returns 0 or -1 in case of error
XMLPUBFUN xmlParserInputBufferPtr XMLCALL xmlAllocParserInputBuffer | ( | xmlCharEncoding | enc | ) |
XMLPUBFUN int XMLCALL xmlCheckFilename | ( | const char * | path | ) |
XMLPUBFUN xmlParserInputPtr XMLCALL xmlCheckHTTPInput | ( | xmlParserCtxtPtr | ctxt, |
xmlParserInputPtr | ret | ||
) |
XMLPUBFUN void XMLCALL xmlCleanupInputCallbacks | ( | void | ) |
XMLPUBFUN int XMLCALL xmlFileClose | ( | void * | context | ) |
XMLPUBFUN int XMLCALL xmlFileMatch | ( | const char * | filename | ) |
Default 'file://' protocol callbacks
XMLPUBFUN void* XMLCALL xmlFileOpen | ( | const char * | filename | ) |
XMLPUBFUN void XMLCALL xmlFreeParserInputBuffer | ( | xmlParserInputBufferPtr | in | ) |
XMLPUBFUN xmlParserInputPtr XMLCALL xmlNoNetExternalEntityLoader | ( | const char * | URL, |
const char * | ID, | ||
xmlParserCtxtPtr | ctxt | ||
) |
XMLPUBFUN char* XMLCALL xmlParserGetDirectory | ( | const char * | filename | ) |
XMLPUBFUN xmlParserInputBufferPtr XMLCALL xmlParserInputBufferCreateFd | ( | int | fd, |
xmlCharEncoding | enc | ||
) |
XMLPUBFUN xmlParserInputBufferPtr XMLCALL xmlParserInputBufferCreateFile | ( | FILE * | file, |
xmlCharEncoding | enc | ||
) |
XMLPUBFUN xmlParserInputBufferPtr XMLCALL xmlParserInputBufferCreateFilename | ( | const char * | URI, |
xmlCharEncoding | enc | ||
) |
XMLPUBFUN xmlParserInputBufferPtr XMLCALL xmlParserInputBufferCreateIO | ( | xmlInputReadCallback | ioread, |
xmlInputCloseCallback | ioclose, | ||
void * | ioctx, | ||
xmlCharEncoding | enc | ||
) |
XMLPUBFUN xmlParserInputBufferPtr XMLCALL xmlParserInputBufferCreateMem | ( | const char * | mem, |
int | size, | ||
xmlCharEncoding | enc | ||
) |
XMLPUBFUN xmlParserInputBufferPtr XMLCALL xmlParserInputBufferCreateStatic | ( | const char * | mem, |
int | size, | ||
xmlCharEncoding | enc | ||
) |
XMLPUBFUN int XMLCALL xmlParserInputBufferGrow | ( | xmlParserInputBufferPtr | in, |
int | len | ||
) |
XMLPUBFUN int XMLCALL xmlParserInputBufferPush | ( | xmlParserInputBufferPtr | in, |
int | len, | ||
const char * | buf | ||
) |
XMLPUBFUN int XMLCALL xmlParserInputBufferRead | ( | xmlParserInputBufferPtr | in, |
int | len | ||
) |
XMLPUBFUN int XMLCALL xmlPopInputCallbacks | ( | void | ) |
XMLPUBFUN void XMLCALL xmlRegisterDefaultInputCallbacks | ( | void | ) |
XMLPUBFUN int XMLCALL xmlRegisterInputCallbacks | ( | xmlInputMatchCallback | matchFunc, |
xmlInputOpenCallback | openFunc, | ||
xmlInputReadCallback | readFunc, | ||
xmlInputCloseCallback | closeFunc | ||
) |