openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_GetSession()

HITLS_Session * HITLS_GetSession ( const HITLS_Ctx ctx)

Obtain the handle of the session information and directly obtain the pointer.

Attention
Directly obtain the pointer. Ensure that the invoking is correct and avoid the pointer being a wild pointer.
Parameters
ctx[IN] TLS connection handle
Return values
Sessioninformation handle