@deftypefun {int} {gnutls_psk_set_server_credentials_hint} (gnutls_psk_server_credentials_t @var{res}, const char * @var{hint}) @var{res}: is a @code{gnutls_psk_server_credentials_t} type. @var{hint}: is the PSK identity hint string This function sets the identity hint, in a @code{gnutls_psk_server_credentials_t} type. This hint is sent to the client to help it chose a good PSK credential (i.e., username and password). @strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise an error code is returned. @strong{Since:} 2.4.0 @end deftypefun