1gnutls_protocol_get_version(3)      gnutls      gnutls_protocol_get_version(3)
2
3
4

NAME

6       gnutls_protocol_get_version - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       gnutls_protocol_t   gnutls_protocol_get_version(gnutls_session_t   ses‐
12       sion);
13

ARGUMENTS

15       gnutls_session_t session
16                   is a gnutls_session_t type.
17

DESCRIPTION

19       Get TLS version, a gnutls_protocol_t value.
20

RETURNS

22       The version of the currently used protocol.
23

REPORTING BUGS

25       Report bugs to <bugs@gnutls.org>.
26       Home page: https://www.gnutls.org
27
28
30       Copyright © 2001- 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 no‐
33       tice 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       https://www.gnutls.org/manual/
41
42gnutls                               3.7.8      gnutls_protocol_get_version(3)
Impressum