diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-06-06 14:26:07 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-06-22 12:54:18 +0200 |
commit | b0041897d2846737f5fb0fdf5210c9faf1fc0438 (patch) | |
tree | d201b60fbc8e9d621b763268151376e62d5472d4 /lib/includes/gnutls/compat.h | |
parent | 338795b29f0726ff32e4bd2be06938aa71c7b5e6 (diff) | |
download | gnutls-tmp-remove-support-for-compression.tar.gz |
moved compression-related APIs to compat.htmp-remove-support-for-compression
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/includes/gnutls/compat.h')
-rw-r--r-- | lib/includes/gnutls/compat.h | 17 |
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 } |