summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_psk_allocate_client_credentials
blob: eaaad874266a070a0181540af7e9173e4da12f1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
@deftypefun {int} {gnutls_psk_allocate_client_credentials} (gnutls_psk_client_credentials_t *            @var{sc})
@var{sc}: is a pointer to a @code{gnutls_psk_server_credentials_t}  type.

Allocate a gnutls_psk_client_credentials_t structure.

@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, otherwise
an error code is returned.
@end deftypefun