pub unsafe extern "C" fn mbedtls_ssl_session_reset(
    ssl: *mut mbedtls_ssl_context
) -> c_int
Expand description

\brief Reset an already initialized SSL context for re-use while retaining application-set variables, function pointers and data.

\param ssl SSL context \return 0 if successful, or MBEDTLS_ERR_SSL_ALLOC_FAILED or MBEDTLS_ERR_SSL_HW_ACCEL_FAILED