#include
int SSL_SESSION_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func);
int SSL_SESSION_set_ex_data(SSL_SESSION *session, int idx, void *arg);
void *SSL_SESSION_get_ex_data(const SSL_SESSION *session, int idx);
typedef int new_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp); typedef void free_func(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx, long argl, void *argp); typedef int dup_func(CRYPTO_EX_DATA *to, CRYPTO_EX_DATA *from, void *from_d, int idx, long argl, void *argp);
_S_S_L___S_E_S_S_I_O_N___g_e_t___e_x___n_e_w___i_n_d_e_x_(_) is used to register a new index for application specific data.
_S_S_L___S_E_S_S_I_O_N___s_e_t___e_x___d_a_t_a_(_) is used to store application data at aarrgg for iiddxx into the sseessssiioonn object.
_S_S_L___S_E_S_S_I_O_N___g_e_t___e_x___d_a_t_a_(_) is used to retrieve the information for iiddxx from sseessssiioonn.
A detailed description for the **____gg_ee_tt____ee_xx____nn_ee_ww____ii_nn_dd_ee_xx_((_)) functionality can be found in _R_S_A___g_e_t___e_x___n_e_w___i_n_d_e_x(3). The **____gg_ee_tt____ee_xx____dd_aa_tt_aa_((_)) and **____ss_ee_tt____ee_xx____dd_aa_tt_aa_((_)) functionality is described in _C_R_Y_P_T_O___s_e_t___e_x___d_a_t_a(3).