Fct lasso_shutdown() now return int values.

This commit is contained in:
Valery Febvre 2004-04-02 00:40:22 +00:00
parent 9372d8bc75
commit d09a0de3b0
2 changed files with 11 additions and 3 deletions

View File

@ -29,7 +29,7 @@
*
* Initializes Lasso library
*
* Returns 0 on success or a negative value otherwise.
* Return value: 0 on success or a negative value otherwise.
*/
int lasso_init()
{
@ -81,7 +81,14 @@ int lasso_init()
return 0;
}
void lasso_shutdown()
/**
* lasso_shutdown:
*
* Clean ups the Lasso Library.
*
* Return value: 0 on success or a negative value otherwise.
**/
int lasso_shutdown()
{
/* Shutdown xmlsec-crypto library */
xmlSecCryptoShutdown();
@ -97,6 +104,7 @@ void lasso_shutdown()
xsltCleanupGlobals();
#endif /* XMLSEC_NO_XSLT */
xmlCleanupParser();
return (0);
}
/**

View File

@ -41,7 +41,7 @@ extern "C" {
#include <lasso/protocols/protocols.h>
LASSO_EXPORT int lasso_init(void);
LASSO_EXPORT void lasso_shutdown(void);
LASSO_EXPORT int lasso_shutdown(void);
/**
* lassoCheckVersionMode: