summaryrefslogtreecommitdiff
path: root/lib/gnutls_extensions.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2002-02-15 11:23:19 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2002-02-15 11:23:19 +0000
commitf189ca6fd82f4344a7b1b215471c07bf9a472005 (patch)
treed6a49ee0afe41aad327e5aeaaf85e385948e3934 /lib/gnutls_extensions.h
parent9fa123ecef2453db1445b4e7754313e3fe7c0965 (diff)
downloadgnutls-f189ca6fd82f4344a7b1b215471c07bf9a472005.tar.gz
Extension types now use a 16 bit type field (following the current draft).
Some fixes in the max record size extension.
Diffstat (limited to 'lib/gnutls_extensions.h')
-rw-r--r--lib/gnutls_extensions.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gnutls_extensions.h b/lib/gnutls_extensions.h
index f4520223b8..52e12b5c9b 100644
--- a/lib/gnutls_extensions.h
+++ b/lib/gnutls_extensions.h
@@ -18,9 +18,9 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
-void* _gnutls_ext_func_send(int type);
-void* _gnutls_ext_func_recv(int type);
-const char *_gnutls_extension_get_name(int type);
+void* _gnutls_ext_func_send(uint16 type);
+void* _gnutls_ext_func_recv(uint16 type);
+const char *_gnutls_extension_get_name(uint16 type);
int _gnutls_parse_extensions( GNUTLS_STATE, const opaque*, int);
int _gnutls_gen_extensions( GNUTLS_STATE state, opaque** data);