Blame doc/functions/gnutls_psk_set_server_credentials_file

Packit aea12f
Packit aea12f
Packit aea12f
Packit aea12f
Packit aea12f
@deftypefun {int} {gnutls_psk_set_server_credentials_file} (gnutls_psk_server_credentials_t            @var{res}, const char * @var{password_file})
Packit aea12f
@var{res}: is a @code{gnutls_psk_server_credentials_t}  type.
Packit aea12f
Packit aea12f
@var{password_file}: is the PSK password file (passwd.psk)
Packit aea12f
Packit aea12f
This function sets the password file, in a
Packit aea12f
@code{gnutls_psk_server_credentials_t}  type.  This password file
Packit aea12f
holds usernames and keys and will be used for PSK authentication.
Packit aea12f
Packit aea12f
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, otherwise
Packit aea12f
an error code is returned.
Packit aea12f
@end deftypefun