openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_SetMsgCb()

int32_t HITLS_SetMsgCb ( HITLS_Ctx ctx,
HITLS_MsgCb  callback 
)

Set the protocol message callback function, cb can be NULL.

参数
ctx[OUT] Ctx context
callback[IN] Protocol message callback function
返回值
HITLS_SUCCESS,ifsuccessful. For details about other error codes, see hitls_error.h.