-
Notifications
You must be signed in to change notification settings - Fork 109
API XMLSec Core Io
API Group: xmlsec_core_io
Input/output helper functions.
Input/output functions.
Defined as: xmlSecTransformInputURIGetKlass()
Source: include/xmlsec/io.h
The Input URI transform id.
int xmlSecIOInit(void);Source: include/xmlsec/io.h
Initializes the IO subsystem.
The IO initialization (called from xmlSecInit function). Applications should not call this function directly.
Returns: 0 on success or a negative value otherwise.
void xmlSecIOShutdown(void);Source: include/xmlsec/io.h
Shuts down the IO subsystem.
The IO cleanup (called from xmlSecShutdown function). Applications should not call this function directly.
void xmlSecIOCleanupCallbacks(void);Source: include/xmlsec/io.h
Clears all input callbacks.
Clears the entire input callback table. this includes the compiled-in I/O.
int xmlSecIORegisterDefaultCallbacks(void);Source: include/xmlsec/io.h
Registers the default compiled-in I/O handlers.
Returns: 0 on success or a negative value otherwise.
int xmlSecIORegisterCallbacks(xmlInputMatchCallback matchFunc, xmlInputOpenCallback openFunc, xmlInputReadCallback readFunc, xmlInputCloseCallback closeFunc);Source: include/xmlsec/io.h
Registers I/O callbacks for parser input.
Register a new set of I/O callback for handling parser input.
Parameters:
-
matchFunc— the protocol match callback. -
openFunc— the open stream callback. -
readFunc— the read from stream callback. -
closeFunc— the close stream callback.
Returns: the 0 on success or a negative value if an error occurs.
xmlSecTransformId xmlSecTransformInputURIGetKlass(void);Source: include/xmlsec/io.h
Gets the input URI transform klass.
The input uri transform klass. Reads binary data from an uri.
Returns: input URI transform id.
int xmlSecTransformInputURIOpen(xmlSecTransformPtr transform, const xmlChar *uri);Source: include/xmlsec/io.h
Opens the given uri for reading.
Parameters:
-
transform— the pointer to IO transform. -
uri— the URL to open.
Returns: 0 on success or a negative value otherwise.
int xmlSecTransformInputURIClose(xmlSecTransformPtr transform);Source: include/xmlsec/io.h
Closes the given transform.
Closes the given transform and frees up resources.
Parameters:
-
transform— the pointer to IO transform.
Returns: 0 on success or a negative value otherwise.