1gnutls_psk_server_get_username(3)   gnutls   gnutls_psk_server_get_username(3)
2
3
4

NAME

6       gnutls_psk_server_get_username - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       const char * gnutls_psk_server_get_username(gnutls_session_t session);
12

ARGUMENTS

14       gnutls_session_t session
15                   is a gnutls session
16

DESCRIPTION

18       This should only be called in case of PSK authentication and in case of
19       a server.
20

RETURNS

22       the username of the peer, or NULL in case of an error.
23

REPORTING BUGS

25       Report bugs to <bugs@gnutls.org>.
26       Home page: http://www.gnutls.org
27
28
30       Copyright © 2001-2018 Free Software Foundation, Inc., and others.
31       Copying and distribution of this file, with  or  without  modification,
32       are  permitted  in  any  medium  without royalty provided the copyright
33       notice and this notice are preserved.
34

SEE ALSO

36       The full documentation for gnutls is maintained as  a  Texinfo  manual.
37       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
38       visit
39
40       http://www.gnutls.org/manual/
41
42gnutls                               3.6.5   gnutls_psk_server_get_username(3)
Impressum