libxml2_xmlio.h File Reference

Typedef xmlInputMatchCallback

typedef int(* xmlInputMatchCallback

xmlInputMatchCallback: 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

Typedef xmlInputOpenCallback

typedef void *(* xmlInputOpenCallback

xmlInputOpenCallback: Callback used in the I/O Input API to open the resource

Returns an Input context or NULL in case or error

Typedef xmlInputReadCallback

typedef int(* xmlInputReadCallback

xmlInputReadCallback: Callback used in the I/O Input API to read the resource

Returns the number of bytes read or -1 in case of error

Typedef xmlInputCloseCallback

typedef int(* xmlInputCloseCallback

xmlInputCloseCallback: Callback used in the I/O Input API to close the resource

Returns 0 or -1 in case of error

Typedef xmlOutputMatchCallback

typedef int(* xmlOutputMatchCallback

xmlOutputMatchCallback: 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

Typedef xmlOutputOpenCallback

typedef void *(* xmlOutputOpenCallback

xmlOutputOpenCallback: Callback used in the I/O Output API to open the resource

Returns an Output context or NULL in case or error

Typedef xmlOutputWriteCallback

typedef int(* xmlOutputWriteCallback

xmlOutputWriteCallback: 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

Typedef xmlOutputCloseCallback

typedef int(* xmlOutputCloseCallback

xmlOutputCloseCallback: Callback used in the I/O Output API to close the resource

Returns 0 or -1 in case of error