 |
 |
 |
XML Security Library Reference Manual |
 |
xmlsec
Details
xmlSecPtr
typedef void* xmlSecPtr;
Void pointer.
xmlSecSize
#define xmlSecSize
Size of something. Should be typedef instead of define
but it will break ABI (todo).
xmlSecByte
#define xmlSecByte unsigned char
One byte. Should be typedef instead of define
but it will break ABI (todo).
xmlSecInit ()
int xmlSecInit (void);
Initializes XML Security Library. The depended libraries
(LibXML and LibXSLT) must be initialized before.
Returns : |
0 on success or a negative value otherwise. |
xmlSecShutdown ()
int xmlSecShutdown (void);
Clean ups the XML Security Library.
Returns : |
0 on success or a negative value otherwise. |
xmlSecCheckVersionExact()
#define xmlSecCheckVersionExact()
Macro. Returns 1 if the loaded xmlsec library version exactly matches
the one used to compile the caller, 0 if it does not or a negative
value if an error occurs.
xmlSecCheckVersion()
#define xmlSecCheckVersion()
Macro. Returns 1 if the loaded xmlsec library version ABI compatible with
the one used to compile the caller, 0 if it does not or a negative
value if an error occurs.
enum xmlSecCheckVersionMode
typedef enum {
xmlSecCheckVersionExact = 0,
xmlSecCheckVersionABICompatible
} xmlSecCheckVersionMode;
The xmlsec library version mode.
xmlSecCheckVersionExt ()
int xmlSecCheckVersionExt (int major,
int minor,
int subminor,
xmlSecCheckVersionMode mode);
Checks if the loaded version of xmlsec library could be used.
major : |
the major version number. |
minor : |
the minor version number. |
subminor : |
the subminor version number. |
mode : |
the version check mode. |
Returns : |
1 if the loaded xmlsec library version is OK to use
0 if it is not or a negative value if an error occurs. |
ATTRIBUTE_UNUSED
#define ATTRIBUTE_UNUSED
Macro used to signal to GCC unused function parameters
|