1gnutls_protocol_get_version(3) gnutls gnutls_protocol_get_version(3)
2
3
4
6 gnutls_protocol_get_version - Returns the version of the currently used
7 protocol
8
10 #include <gnutls/gnutls.h>
11
12 gnutls_protocol_t gnutls_protocol_get_version(gnutls_session_t ses‐
13 sion);
14
16 gnutls_session_t session
17 is a gnutls_session_t structure.
18
20 Get TLS version, a gnutls_protocol_t value.
21
23 the version of the currently used protocol.
24
26 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
27 http://www.gnu.org/software/gnutls/ General help using GNU software:
28 http://www.gnu.org/gethelp/
29
31 Copyright © 2008 Free Software Foundation.
32 Copying and distribution of this file, with or without modification,
33 are permitted in any medium without royalty provided the copyright
34 notice and this notice are preserved.
35
37 The full documentation for gnutls is maintained as a Texinfo manual.
38 If the info and gnutls programs are properly installed at your site,
39 the command
40
41 info gnutls
42
43 should give you access to the complete manual.
44
45
46
47gnutls 2.8.6 gnutls_protocol_get_version(3)