|
Mac Dev Center
Mac OS X Reference Library Cross Platform: Open Source Miscellaneous User Space API Reference
|
xmlIO.h |
| Includes: |
xmlFileMatch |
XMLPUBFUN int XMLCALL xmlFileMatch ( const char *filename);
Default 'file://' protocol callbacks
xmlInputCloseCallback |
typedef int (*xmlInputCloseCallback) ( void *context);
xmlInputCloseCallback:
@context: an Input context
Callback used in the I/O Input API to close the resource
Returns 0 or -1 in case of error
xmlInputMatchCallback |
typedef int (*xmlInputMatchCallback) ( char const *filename);
xmlInputMatchCallback:
@filename: 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
xmlInputOpenCallback |
typedef void * (*xmlInputOpenCallback) ( char const *filename);
xmlInputOpenCallback:
@filename: 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
xmlInputReadCallback |
typedef int (*xmlInputReadCallback) ( void *context, char *buffer, int len);
xmlInputReadCallback:
@context: an Input context
@buffer: the buffer to store data read
@len: 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
xmlOutputCloseCallback |
typedef int (*xmlOutputCloseCallback) ( void *context);
xmlOutputCloseCallback:
@context: an Output context
Callback used in the I/O Output API to close the resource
Returns 0 or -1 in case of error
xmlOutputMatchCallback |
typedef int (*xmlOutputMatchCallback) ( char const *filename);
xmlOutputMatchCallback:
@filename: the filename or URI
Callback used in the I/O Output API to detect if the current handler
can provide output fonctionnalities for this resource.
Returns 1 if yes and 0 if another Output module should be used
xmlOutputOpenCallback |
typedef void * (*xmlOutputOpenCallback) ( char const *filename);
xmlOutputOpenCallback:
@filename: the filename or URI
Callback used in the I/O Output API to open the resource
Returns an Output context or NULL in case or error
xmlOutputWriteCallback |
typedef int (*xmlOutputWriteCallback) ( void *context, const char *buffer, int len);
xmlOutputWriteCallback:
@context: an Output context
@buffer: the buffer of data to write
@len: the length of the buffer in bytes
Callback used in the I/O Output API to write to the resource
Returns the number of bytes written or -1 in case of error
Last Updated: 2006-06-20