openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_SetReadUio()

int32_t HITLS_SetReadUio ( HITLS_Ctx ctx,
BSL_UIO uio 
)

Read UIO for the HiTLS context.

Attention
Must be called before HITLS_Connect and HITLS_Accept and released after HITLS_Free. If this function has been called, you must call BSL_UIO_Free to release the UIO.
Parameters
ctx[OUT] TLS connection handle.
uio[IN] UIO object.
Return values
HITLS_SUCCESS,ifsuccessful.
Forother error codes, see hitls_error.h.