From cf925c4a9f7364589552c51641a3e228be75360a Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Mon, 30 May 2016 10:50:38 +0200 Subject: exported function to convert TLS extension numbers to strings The exported function is gnutls_ext_get_name() --- lib/includes/gnutls/gnutls.h.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/includes') diff --git a/lib/includes/gnutls/gnutls.h.in b/lib/includes/gnutls/gnutls.h.in index 3c6bd5be9d..0f35358d40 100644 --- a/lib/includes/gnutls/gnutls.h.in +++ b/lib/includes/gnutls/gnutls.h.in @@ -2515,6 +2515,8 @@ int gnutls_ext_register(const char *name, int type, gnutls_ext_parse_type_t pars gnutls_ext_deinit_data_func deinit_func, gnutls_ext_pack_func pack_func, gnutls_ext_unpack_func unpack_func); +const char *gnutls_ext_get_name(unsigned int ext); + /* Public supplemental data related functions */ typedef int (*gnutls_supp_recv_func) (gnutls_session_t session, -- cgit v1.2.1