summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_protocol_get_version
blob: 3f3f77619e0adccc1f68cf7898a150d20c9a87e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
@deftypefun {gnutls_protocol_t} {gnutls_protocol_get_version} (gnutls_session_t @var{session})
@var{session}: is a @code{gnutls_session_t}  type.

Get TLS version, a @code{gnutls_protocol_t}  value.

@strong{Returns:} The version of the currently used protocol.
@end deftypefun