XML Security Library

LibXML2
LibXSLT
OpenSSL

io

Name

io -- 

Synopsis


void        xmlSecIOInit                    (void);
void        xmlSecIOShutdown                (void);
void        xmlSecIOCleanupCallbacks        (void);
void        xmlSecIORegisterDefaultCallbacks
                                            (void);
int         xmlSecIORegisterCallbacks       (xmlInputMatchCallback matchFunc,
                                             xmlInputOpenCallback openFunc,
                                             xmlInputReadCallback readFunc,
                                             xmlInputCloseCallback closeFunc);
#define     xmlSecTransformInputURIId
xmlSecTransformId xmlSecTransformInputURIGetKlass
                                            (void);
int         xmlSecTransformInputURIOpen     (xmlSecTransformPtr transform,
                                             const xmlChar *uri);

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.


xmlSecTransformInputURIId

#define     xmlSecTransformInputURIId

The Input URI transform id.


xmlSecTransformInputURIGetKlass ()

xmlSecTransformId xmlSecTransformInputURIGetKlass
                                            (void);

Returns :  


xmlSecTransformInputURIOpen ()

int         xmlSecTransformInputURIOpen     (xmlSecTransformPtr transform,
                                             const xmlChar *uri);

Opens the given uri for reading.

transform : the pointer to IO transform.
uri : the URL to open.
Returns : 0 on success or a negative value otherwise.



Aleksey Sanin