summaryrefslogtreecommitdiff
path: root/lib/gnutls_algorithms.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2001-02-03 12:18:26 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2001-02-03 12:18:26 +0000
commit73a352fc3976c60fa4b61cb9ec78a86ff3b37651 (patch)
tree88eeb13e52cd1343676db20d183d8e632f6d5db4 /lib/gnutls_algorithms.h
parent00a2ae39825ff61b45982cc46e6e098b7dadd9eb (diff)
downloadgnutls-73a352fc3976c60fa4b61cb9ec78a86ff3b37651.tar.gz
TLS version handling is now more simple (no structures)
Diffstat (limited to 'lib/gnutls_algorithms.h')
-rw-r--r--lib/gnutls_algorithms.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/gnutls_algorithms.h b/lib/gnutls_algorithms.h
index f4298976e1..c019a31aae 100644
--- a/lib/gnutls_algorithms.h
+++ b/lib/gnutls_algorithms.h
@@ -20,6 +20,9 @@
/* functions for version */
int _gnutls_version_is_supported(GNUTLS_STATE state, const GNUTLS_Version version);
+int _gnutls_version_get_major( GNUTLS_Version ver);
+int _gnutls_version_get_minor( GNUTLS_Version ver);
+GNUTLS_Version _gnutls_version_get( int major, int minor);
/* functions for macs */
int _gnutls_mac_get_digest_size(MACAlgorithm algorithm);