#include
long SSL_SESSION_get_time(const SSL_SESSION *s); long SSL_SESSION_set_time(SSL_SESSION *s, long tm); long SSL_SESSION_get_timeout(const SSL_SESSION *s); long SSL_SESSION_set_timeout(SSL_SESSION *s, long tm);
long SSL_get_time(const SSL_SESSION *s); long SSL_set_time(SSL_SESSION *s, long tm); long SSL_get_timeout(const SSL_SESSION *s); long SSL_set_timeout(SSL_SESSION *s, long tm);
_S_S_L___S_E_S_S_I_O_N___s_e_t___t_i_m_e_(_) replaces the creation time of the session ss with the chosen value ttmm.
_S_S_L___S_E_S_S_I_O_N___g_e_t___t_i_m_e_o_u_t_(_) returns the timeout value set for session ss in seconds.
_S_S_L___S_E_S_S_I_O_N___s_e_t___t_i_m_e_o_u_t_(_) sets the timeout value for session ss in seconds to ttmm.
The _S_S_L___g_e_t___t_i_m_e_(_), _S_S_L___s_e_t___t_i_m_e_(_), _S_S_L___g_e_t___t_i_m_e_o_u_t_(_), and _S_S_L___s_e_t___t_i_m_e_o_u_t_(_) functions are synonyms for the SSL_SESSION_*() counterparts.
_S_S_L___S_E_S_S_I_O_N___s_e_t___t_i_m_e_(_) and _S_S_L___S_E_S_S_I_O_N___s_e_t___t_i_m_e_o_u_t_(_) return 1 on success.
If any of the function is passed the NULL pointer for the session ss, 0 is returned.