openHiTLS API openHiTLS 0.1.0-Alpha1

◆ HITLS_CFG_GetServerNameArg()

int32_t HITLS_CFG_GetServerNameArg ( HITLS_Config config,
void **  arg 
)

Obtain the server_name required during SNI negotiation on the server, related Parameter arg.

参数
ctx[IN] ctx context
arg[IN] [OUT] Set parameters related to server_name.arg
返回值
HITLS_SUCCESS,ifsuccessful. For details about other error codes, see hitls_error.h.