summaryrefslogtreecommitdiff
path: root/lib/includes/gnutls/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/includes/gnutls/compat.h')
-rw-r--r--lib/includes/gnutls/compat.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/includes/gnutls/compat.h b/lib/includes/gnutls/compat.h
index 1f4f6b3348..2dbc04a9eb 100644
--- a/lib/includes/gnutls/compat.h
+++ b/lib/includes/gnutls/compat.h
@@ -233,6 +233,23 @@ gnutls_global_set_mem_functions(gnutls_alloc_function alloc_func,
/* defined in old headers - unused nevertheless */
#define GNUTLS_SUPPLEMENTAL_USER_MAPPING_DATA 0
+/* old compression related functions */
+gnutls_compression_method_t
+gnutls_compression_get(gnutls_session_t session) _GNUTLS_GCC_ATTR_DEPRECATED;
+
+const char *
+gnutls_compression_get_name(gnutls_compression_method_t
+ algorithm) __GNUTLS_CONST__ _GNUTLS_GCC_ATTR_DEPRECATED;
+
+gnutls_compression_method_t
+ gnutls_compression_get_id(const char *name) __GNUTLS_CONST__ _GNUTLS_GCC_ATTR_DEPRECATED;
+
+const gnutls_compression_method_t *
+ gnutls_compression_list(void) __GNUTLS_PURE__ _GNUTLS_GCC_ATTR_DEPRECATED;
+
+int gnutls_priority_compression_list(gnutls_priority_t pcache,
+ const unsigned int **list) _GNUTLS_GCC_ATTR_DEPRECATED;
+
/* *INDENT-OFF* */
#ifdef __cplusplus
}