openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_CFG_SetMsgCb()

int32_t HITLS_CFG_SetMsgCb ( HITLS_Config config,
HITLS_MsgCb  callback 
)

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

参数
config[OUT] Config Context
callback[IN] Protocol message callback
返回值
HITLS_SUCCESS,ifsuccessful. For details about other error codes, see hitls_error.h.