I was wondering what the purpose of this other than giving additional initialization for the RSSL API. Also, if there is somewhere to be able to find information about this it would be great to know. I tried searching for it in the documentation but could not find it. It is located in the (ETA_INSTALL_PATH)/Include/Transport/rtr
Here is what they have for the two different methods:
/* Initialization & Uninitialization*/
/**
* @brief Structure that provides additional initialization information for the RSSL API
*/
typedef struct
{
RsslLockingTypes rsslLocking; /*!< Lock method used for the RSSL API */
rsslJITOpts jitOpts; /*!< openSSL JIT options */
}RsslInitializeExOpts;
/**
* @brief Static initializer for RsslInitializeExOpts
*/
#define RSSL_INIT_INITIALIZE_EX_OPTS { RSSL_LOCK_NONE, RSSL_INIT_SSL_LIB_JIT_OPTS }
/**
* @brief Initializes the RSSL API and all internal members
*
* Typical use:<BR>
* This is the first function called when using the RSSL. It
* initializes internal data structures and pre-allocates some memory.
*
* @param rsslLocking Method of locking used.
* @param error RSSL Error, to be populated in event of an error
* @return RsslRet RSSL return value or RsslInitRets value.
* @see RsslReturnCodes
* @see RsslLockingTypes
*/
RSSL_API RsslRet rsslInitialize( RsslLockingTypes rsslLocking,
RsslError *error);
/**
* @brief Initializes the RSSL API and all internal members
*
* Typical use:<BR>
* This is the first function called when using the RSSL. It
* initializes internal data structures and pre-allocates some memory.
*
* @param rsslInitOpts Initialize options.
* @param error RSSL Error, to be populated in event of an error
* @return RsslRet RSSL return value or RsslInitRets value.
* @see RsslReturnCodes
* @see RsslInitializeExOpts
*/
RSSL_API RsslRet rsslInitializeEx( RsslInitializeExOpts *rsslInitOpts,
RsslError *error);