1gnutls_protocol_get_version(3) gnutls gnutls_protocol_get_version(3)
2
3
4
6 gnutls_protocol_get_version - API function
7
9 #include <gnutls/gnutls.h>
10
11 gnutls_protocol_t gnutls_protocol_get_version(gnutls_session_t ses‐
12 sion);
13
15 gnutls_session_t session
16 is a gnutls_session_t structure.
17
19 Get TLS version, a gnutls_protocol_t value.
20
22 the version of the currently used protocol.
23
25 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
26 http://www.gnu.org/software/gnutls/ General help using GNU software:
27 http://www.gnu.org/gethelp/
28
30 Copyright © 2008 Free Software Foundation.
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
36 The full documentation for gnutls is maintained as a Texinfo manual.
37 If the info and gnutls programs are properly installed at your site,
38 the command
39
40 info gnutls
41
42 should give you access to the complete manual.
43
44
45
46gnutls 2.12.6.1 gnutls_protocol_get_version(3)