diff options
| author | Valery Febvre <vfebvre at easter-eggs.com> | 2004-04-02 00:40:22 +0000 |
|---|---|---|
| committer | Valery Febvre <vfebvre at easter-eggs.com> | 2004-04-02 00:40:22 +0000 |
| commit | d09a0de3b0e667b96ca722f374f04baeb164224b (patch) | |
| tree | 551fb49a217c15799d074773d609ddd59525fba8 | |
| parent | 9372d8bc759be30ce5420914c7cfff47a6dfa7ef (diff) | |
Fct lasso_shutdown() now return int values.
| -rw-r--r-- | lasso/lasso.c | 12 | ||||
| -rw-r--r-- | lasso/lasso.h | 2 |
2 files changed, 11 insertions, 3 deletions
diff --git a/lasso/lasso.c b/lasso/lasso.c index c4cfe650..bbd83bd4 100644 --- a/lasso/lasso.c +++ b/lasso/lasso.c @@ -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); } /** diff --git a/lasso/lasso.h b/lasso/lasso.h index ac130273..9b99ffb3 100644 --- a/lasso/lasso.h +++ b/lasso/lasso.h @@ -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: |
