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.

注意
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.
参数
ctx[OUT] TLS connection handle.
uio[IN] UIO object.
返回值
HITLS_SUCCESS,ifsuccessful.
Forother error codes, see hitls_error.h.