summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_protocol_get_version
diff options
context:
space:
mode:
Diffstat (limited to 'doc/functions/gnutls_protocol_get_version')
-rw-r--r--doc/functions/gnutls_protocol_get_version11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/functions/gnutls_protocol_get_version b/doc/functions/gnutls_protocol_get_version
new file mode 100644
index 0000000..3f3f776
--- /dev/null
+++ b/doc/functions/gnutls_protocol_get_version
@@ -0,0 +1,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