version 1.1.1.1, 2012/02/21 23:37:58
|
version 1.1.1.2, 2014/06/15 19:53:38
|
Line 26 extern "C" {
|
Line 26 extern "C" {
|
* xmlInputMatchCallback: |
* xmlInputMatchCallback: |
* @filename: the filename or URI |
* @filename: the filename or URI |
* |
* |
* Callback used in the I/O Input API to detect if the current handler | * Callback used in the I/O Input API to detect if the current handler |
* can provide input fonctionnalities for this resource. |
* can provide input fonctionnalities for this resource. |
* |
* |
* Returns 1 if yes and 0 if another Input module should be used |
* Returns 1 if yes and 0 if another Input module should be used |
Line 72 typedef int (XMLCALL *xmlInputCloseCallback) (void * c
|
Line 72 typedef int (XMLCALL *xmlInputCloseCallback) (void * c
|
* xmlOutputMatchCallback: |
* xmlOutputMatchCallback: |
* @filename: the filename or URI |
* @filename: the filename or URI |
* |
* |
* Callback used in the I/O Output API to detect if the current handler | * Callback used in the I/O Output API to detect if the current handler |
* can provide output fonctionnalities for this resource. |
* can provide output fonctionnalities for this resource. |
* |
* |
* Returns 1 if yes and 0 if another Output module should be used |
* Returns 1 if yes and 0 if another Output module should be used |
Line 126 struct _xmlParserInputBuffer {
|
Line 126 struct _xmlParserInputBuffer {
|
void* context; |
void* context; |
xmlInputReadCallback readcallback; |
xmlInputReadCallback readcallback; |
xmlInputCloseCallback closecallback; |
xmlInputCloseCallback closecallback; |
| |
xmlCharEncodingHandlerPtr encoder; /* I18N conversions to UTF-8 */ |
xmlCharEncodingHandlerPtr encoder; /* I18N conversions to UTF-8 */ |
| |
xmlBufferPtr buffer; /* Local buffer encoded in UTF-8 */ | xmlBufPtr buffer; /* Local buffer encoded in UTF-8 */ |
xmlBufferPtr raw; /* if encoder != NULL buffer for raw input */ | xmlBufPtr raw; /* if encoder != NULL buffer for raw input */ |
int compressed; /* -1=unknown, 0=not compressed, 1=compressed */ |
int compressed; /* -1=unknown, 0=not compressed, 1=compressed */ |
int error; |
int error; |
unsigned long rawconsumed;/* amount consumed from raw */ |
unsigned long rawconsumed;/* amount consumed from raw */ |
Line 142 struct _xmlOutputBuffer {
|
Line 142 struct _xmlOutputBuffer {
|
void* context; |
void* context; |
xmlOutputWriteCallback writecallback; |
xmlOutputWriteCallback writecallback; |
xmlOutputCloseCallback closecallback; |
xmlOutputCloseCallback closecallback; |
| |
xmlCharEncodingHandlerPtr encoder; /* I18N conversions to UTF-8 */ |
xmlCharEncodingHandlerPtr encoder; /* I18N conversions to UTF-8 */ |
| |
xmlBufferPtr buffer; /* Local buffer encoded in UTF-8 or ISOLatin */ | xmlBufPtr buffer; /* Local buffer encoded in UTF-8 or ISOLatin */ |
xmlBufferPtr conv; /* if encoder != NULL buffer for output */ | xmlBufPtr conv; /* if encoder != NULL buffer for output */ |
int written; /* total number of byte written */ |
int written; /* total number of byte written */ |
int error; |
int error; |
}; |
}; |
Line 155 struct _xmlOutputBuffer {
|
Line 155 struct _xmlOutputBuffer {
|
/* |
/* |
* Interfaces for input |
* Interfaces for input |
*/ |
*/ |
XMLPUBFUN void XMLCALL | XMLPUBFUN void XMLCALL |
xmlCleanupInputCallbacks (void); |
xmlCleanupInputCallbacks (void); |
|
|
XMLPUBFUN int XMLCALL |
XMLPUBFUN int XMLCALL |
xmlPopInputCallbacks (void); |
xmlPopInputCallbacks (void); |
|
|
XMLPUBFUN void XMLCALL | XMLPUBFUN void XMLCALL |
xmlRegisterDefaultInputCallbacks (void); |
xmlRegisterDefaultInputCallbacks (void); |
XMLPUBFUN xmlParserInputBufferPtr XMLCALL |
XMLPUBFUN xmlParserInputBufferPtr XMLCALL |
xmlAllocParserInputBuffer (xmlCharEncoding enc); |
xmlAllocParserInputBuffer (xmlCharEncoding enc); |
Line 186 XMLPUBFUN xmlParserInputBufferPtr XMLCALL
|
Line 186 XMLPUBFUN xmlParserInputBufferPtr XMLCALL
|
xmlInputCloseCallback ioclose, |
xmlInputCloseCallback ioclose, |
void *ioctx, |
void *ioctx, |
xmlCharEncoding enc); |
xmlCharEncoding enc); |
XMLPUBFUN int XMLCALL | XMLPUBFUN int XMLCALL |
xmlParserInputBufferRead (xmlParserInputBufferPtr in, |
xmlParserInputBufferRead (xmlParserInputBufferPtr in, |
int len); |
int len); |
XMLPUBFUN int XMLCALL | XMLPUBFUN int XMLCALL |
xmlParserInputBufferGrow (xmlParserInputBufferPtr in, |
xmlParserInputBufferGrow (xmlParserInputBufferPtr in, |
int len); |
int len); |
XMLPUBFUN int XMLCALL | XMLPUBFUN int XMLCALL |
xmlParserInputBufferPush (xmlParserInputBufferPtr in, |
xmlParserInputBufferPush (xmlParserInputBufferPtr in, |
int len, |
int len, |
const char *buf); |
const char *buf); |
XMLPUBFUN void XMLCALL | XMLPUBFUN void XMLCALL |
xmlFreeParserInputBuffer (xmlParserInputBufferPtr in); |
xmlFreeParserInputBuffer (xmlParserInputBufferPtr in); |
XMLPUBFUN char * XMLCALL | XMLPUBFUN char * XMLCALL |
xmlParserGetDirectory (const char *filename); |
xmlParserGetDirectory (const char *filename); |
|
|
XMLPUBFUN int XMLCALL | XMLPUBFUN int XMLCALL |
xmlRegisterInputCallbacks (xmlInputMatchCallback matchFunc, |
xmlRegisterInputCallbacks (xmlInputMatchCallback matchFunc, |
xmlInputOpenCallback openFunc, |
xmlInputOpenCallback openFunc, |
xmlInputReadCallback readFunc, |
xmlInputReadCallback readFunc, |
Line 215 xmlParserInputBufferPtr
|
Line 215 xmlParserInputBufferPtr
|
/* |
/* |
* Interfaces for output |
* Interfaces for output |
*/ |
*/ |
XMLPUBFUN void XMLCALL | XMLPUBFUN void XMLCALL |
xmlCleanupOutputCallbacks (void); |
xmlCleanupOutputCallbacks (void); |
XMLPUBFUN void XMLCALL | XMLPUBFUN void XMLCALL |
xmlRegisterDefaultOutputCallbacks(void); |
xmlRegisterDefaultOutputCallbacks(void); |
XMLPUBFUN xmlOutputBufferPtr XMLCALL |
XMLPUBFUN xmlOutputBufferPtr XMLCALL |
xmlAllocOutputBuffer (xmlCharEncodingHandlerPtr encoder); |
xmlAllocOutputBuffer (xmlCharEncodingHandlerPtr encoder); |
Line 245 XMLPUBFUN xmlOutputBufferPtr XMLCALL
|
Line 245 XMLPUBFUN xmlOutputBufferPtr XMLCALL
|
void *ioctx, |
void *ioctx, |
xmlCharEncodingHandlerPtr encoder); |
xmlCharEncodingHandlerPtr encoder); |
|
|
XMLPUBFUN int XMLCALL | /* Couple of APIs to get the output without digging into the buffers */ |
| XMLPUBFUN const xmlChar * XMLCALL |
| xmlOutputBufferGetContent (xmlOutputBufferPtr out); |
| XMLPUBFUN size_t XMLCALL |
| xmlOutputBufferGetSize (xmlOutputBufferPtr out); |
| |
| XMLPUBFUN int XMLCALL |
xmlOutputBufferWrite (xmlOutputBufferPtr out, |
xmlOutputBufferWrite (xmlOutputBufferPtr out, |
int len, |
int len, |
const char *buf); |
const char *buf); |
XMLPUBFUN int XMLCALL | XMLPUBFUN int XMLCALL |
xmlOutputBufferWriteString (xmlOutputBufferPtr out, |
xmlOutputBufferWriteString (xmlOutputBufferPtr out, |
const char *str); |
const char *str); |
XMLPUBFUN int XMLCALL | XMLPUBFUN int XMLCALL |
xmlOutputBufferWriteEscape (xmlOutputBufferPtr out, |
xmlOutputBufferWriteEscape (xmlOutputBufferPtr out, |
const xmlChar *str, |
const xmlChar *str, |
xmlCharEncodingOutputFunc escaping); |
xmlCharEncodingOutputFunc escaping); |
|
|
XMLPUBFUN int XMLCALL | XMLPUBFUN int XMLCALL |
xmlOutputBufferFlush (xmlOutputBufferPtr out); |
xmlOutputBufferFlush (xmlOutputBufferPtr out); |
XMLPUBFUN int XMLCALL | XMLPUBFUN int XMLCALL |
xmlOutputBufferClose (xmlOutputBufferPtr out); |
xmlOutputBufferClose (xmlOutputBufferPtr out); |
|
|
XMLPUBFUN int XMLCALL | XMLPUBFUN int XMLCALL |
xmlRegisterOutputCallbacks (xmlOutputMatchCallback matchFunc, |
xmlRegisterOutputCallbacks (xmlOutputMatchCallback matchFunc, |
xmlOutputOpenCallback openFunc, |
xmlOutputOpenCallback openFunc, |
xmlOutputWriteCallback writeFunc, |
xmlOutputWriteCallback writeFunc, |
Line 275 xmlOutputBufferPtr
|
Line 281 xmlOutputBufferPtr
|
|
|
#ifdef LIBXML_HTTP_ENABLED |
#ifdef LIBXML_HTTP_ENABLED |
/* This function only exists if HTTP support built into the library */ |
/* This function only exists if HTTP support built into the library */ |
XMLPUBFUN void XMLCALL | XMLPUBFUN void XMLCALL |
xmlRegisterHTTPPostCallbacks (void ); |
xmlRegisterHTTPPostCallbacks (void ); |
#endif /* LIBXML_HTTP_ENABLED */ |
#endif /* LIBXML_HTTP_ENABLED */ |
| |
#endif /* LIBXML_OUTPUT_ENABLED */ |
#endif /* LIBXML_OUTPUT_ENABLED */ |
|
|
XMLPUBFUN xmlParserInputPtr XMLCALL |
XMLPUBFUN xmlParserInputPtr XMLCALL |
Line 288 XMLPUBFUN xmlParserInputPtr XMLCALL
|
Line 294 XMLPUBFUN xmlParserInputPtr XMLCALL
|
/* |
/* |
* A predefined entity loader disabling network accesses |
* A predefined entity loader disabling network accesses |
*/ |
*/ |
XMLPUBFUN xmlParserInputPtr XMLCALL | XMLPUBFUN xmlParserInputPtr XMLCALL |
xmlNoNetExternalEntityLoader (const char *URL, |
xmlNoNetExternalEntityLoader (const char *URL, |
const char *ID, |
const char *ID, |
xmlParserCtxtPtr ctxt); |
xmlParserCtxtPtr ctxt); |
|
|
/* | /* |
* xmlNormalizeWindowsPath is obsolete, don't use it. | * xmlNormalizeWindowsPath is obsolete, don't use it. |
* Check xmlCanonicPath in uri.h for a better alternative. |
* Check xmlCanonicPath in uri.h for a better alternative. |
*/ |
*/ |
XMLPUBFUN xmlChar * XMLCALL | XMLPUBFUN xmlChar * XMLCALL |
xmlNormalizeWindowsPath (const xmlChar *path); |
xmlNormalizeWindowsPath (const xmlChar *path); |
|
|
XMLPUBFUN int XMLCALL | XMLPUBFUN int XMLCALL |
xmlCheckFilename (const char *path); |
xmlCheckFilename (const char *path); |
/** |
/** |
* Default 'file://' protocol callbacks | * Default 'file://' protocol callbacks |
*/ |
*/ |
XMLPUBFUN int XMLCALL | XMLPUBFUN int XMLCALL |
xmlFileMatch (const char *filename); | xmlFileMatch (const char *filename); |
XMLPUBFUN void * XMLCALL | XMLPUBFUN void * XMLCALL |
xmlFileOpen (const char *filename); | xmlFileOpen (const char *filename); |
XMLPUBFUN int XMLCALL | XMLPUBFUN int XMLCALL |
xmlFileRead (void * context, | xmlFileRead (void * context, |
char * buffer, | char * buffer, |
int len); |
int len); |
XMLPUBFUN int XMLCALL | XMLPUBFUN int XMLCALL |
xmlFileClose (void * context); | xmlFileClose (void * context); |
|
|
/** |
/** |
* Default 'http://' protocol callbacks | * Default 'http://' protocol callbacks |
*/ |
*/ |
#ifdef LIBXML_HTTP_ENABLED |
#ifdef LIBXML_HTTP_ENABLED |
XMLPUBFUN int XMLCALL | XMLPUBFUN int XMLCALL |
xmlIOHTTPMatch (const char *filename); | xmlIOHTTPMatch (const char *filename); |
XMLPUBFUN void * XMLCALL | XMLPUBFUN void * XMLCALL |
xmlIOHTTPOpen (const char *filename); | xmlIOHTTPOpen (const char *filename); |
#ifdef LIBXML_OUTPUT_ENABLED |
#ifdef LIBXML_OUTPUT_ENABLED |
XMLPUBFUN void * XMLCALL | XMLPUBFUN void * XMLCALL |
xmlIOHTTPOpenW (const char * post_uri, |
xmlIOHTTPOpenW (const char * post_uri, |
int compression ); |
int compression ); |
#endif /* LIBXML_OUTPUT_ENABLED */ |
#endif /* LIBXML_OUTPUT_ENABLED */ |
XMLPUBFUN int XMLCALL | XMLPUBFUN int XMLCALL |
xmlIOHTTPRead (void * context, | xmlIOHTTPRead (void * context, |
char * buffer, | char * buffer, |
int len); |
int len); |
XMLPUBFUN int XMLCALL | XMLPUBFUN int XMLCALL |
xmlIOHTTPClose (void * context); | xmlIOHTTPClose (void * context); |
#endif /* LIBXML_HTTP_ENABLED */ |
#endif /* LIBXML_HTTP_ENABLED */ |
|
|
/** |
/** |
* Default 'ftp://' protocol callbacks | * Default 'ftp://' protocol callbacks |
*/ |
*/ |
#ifdef LIBXML_FTP_ENABLED | #ifdef LIBXML_FTP_ENABLED |
XMLPUBFUN int XMLCALL | XMLPUBFUN int XMLCALL |
xmlIOFTPMatch (const char *filename); | xmlIOFTPMatch (const char *filename); |
XMLPUBFUN void * XMLCALL | XMLPUBFUN void * XMLCALL |
xmlIOFTPOpen (const char *filename); | xmlIOFTPOpen (const char *filename); |
XMLPUBFUN int XMLCALL | XMLPUBFUN int XMLCALL |
xmlIOFTPRead (void * context, | xmlIOFTPRead (void * context, |
char * buffer, | char * buffer, |
int len); |
int len); |
XMLPUBFUN int XMLCALL | XMLPUBFUN int XMLCALL |
xmlIOFTPClose (void * context); | xmlIOFTPClose (void * context); |
#endif /* LIBXML_FTP_ENABLED */ |
#endif /* LIBXML_FTP_ENABLED */ |
|
|
#ifdef __cplusplus |
#ifdef __cplusplus |