io.h

Name

io.h -- The IO transforms.

Synopsis



void        xmlSecIOInit                    (void);
void        xmlSecIOShutdown                (void);
void        xmlSecIOCleanupCallbacks        (void);
void        xmlSecIORegisterDefaultCallbacks
                                            (void);
int         xmlSecIORegisterCallbacks       (xmlInputMatchCallback matchFunc,
                                             xmlInputOpenCallback openFunc,
                                             xmlInputReadCallback readFunc,
                                             xmlInputCloseCallback closeFunc);

Description

Details

xmlSecIOInit ()

void        xmlSecIOInit                    (void);

The IO initialization (called from xmlSecInit() function). Applications should not call this function directly.


xmlSecIOShutdown ()

void        xmlSecIOShutdown                (void);

The IO clenaup (called from xmlSecShutdown() function). Applications should not call this function directly.


xmlSecIOCleanupCallbacks ()

void        xmlSecIOCleanupCallbacks        (void);

Clears the entire input callback table. this includes the compiled-in I/O.


xmlSecIORegisterDefaultCallbacks ()

void        xmlSecIORegisterDefaultCallbacks
                                            (void);

Registers the default compiled-in I/O handlers.


xmlSecIORegisterCallbacks ()

int         xmlSecIORegisterCallbacks       (xmlInputMatchCallback matchFunc,
                                             xmlInputOpenCallback openFunc,
                                             xmlInputReadCallback readFunc,
                                             xmlInputCloseCallback closeFunc);

Register a new set of I/O callback for handling parser input.

matchFunc : the xmlInputMatchCallback.
openFunc : the xmlInputOpenCallback.
readFunc : the xmlInputReadCallback.
closeFunc : the xmlInputCloseCallback.
Returns :the registered handler number or a negative value if an error occurs.