Modules
Activation
Detailed Description
The globus_openssl library is motivated by the desire to make OpenSSL thread safe. This is done by allocating a mutex pool and setting relevant callback functions in the module activation functions.
Any program that uses OpenSSL functions with Globus must include the globus_openssl.h header.
Globus OpenSSL uses standard Globus module activation and deactivation. Before any OpenSSL functions are called, the following function must be called:
globus_module_activate(GLOBUS_OPENSSL_MODULE)
This function returns GLOBUS_SUCCESS if OpenSSL was successfully initialized, and you are therefore allowed to subsequently call OpenSSL functions. Otherwise, an error code is returned, and OpenSSL functions should not subsequently be called. This function may be called multiple times.
To deactivate the OpenSSL module , the following function must be called:
globus_module_deactivate(GLOBUS_OPENSSL_MODULE)
This function should be called once for each time OpenSSL was activated.
Author
Generated automatically by Doxygen for globus_openssl_module from the source code.