gnutls_psk_set_client_credentials_function (3) Linux Manual Page
NAME gnutls_psk_set_client_credentials_function – API function SYNOPSIS #include <gnutls/gnutls.h> void gnutls_psk_set_client_credentials_function(gnutls_psk_client_credentials_t cred, gnutls_psk_client_credentials_function * func); ARGUMENTS gnutls_psk_client_credentials_t cred is a gnutls_psk_server_credentials_t structure. gnutls_psk_client_credentials_function * func is the callback function DESCRIPTION This function can be used to set a callback to retrieve the username and password for client PSK authentication. The callback’s function form is: int (*callback)(gnutls_session_t,…
