summaryrefslogtreecommitdiff
path: root/lib/gnutls_extensions.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2001-03-17 19:41:43 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2001-03-17 19:41:43 +0000
commit4774c696589d75ad94cc3f85c05233f01dfc5443 (patch)
tree7a58889f2d3ac29a4be1e4af8198fafb90f1f77d /lib/gnutls_extensions.h
parentb85373f84803d038fe8f90dcaf079d72eda53a70 (diff)
downloadgnutls-4774c696589d75ad94cc3f85c05233f01dfc5443.tar.gz
Added some preliminary support for TLS extensions;
Diffstat (limited to 'lib/gnutls_extensions.h')
-rw-r--r--lib/gnutls_extensions.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/gnutls_extensions.h b/lib/gnutls_extensions.h
new file mode 100644
index 0000000000..ce7fec4ec8
--- /dev/null
+++ b/lib/gnutls_extensions.h
@@ -0,0 +1,26 @@
+/*
+ * Copyright (C) 2001 Nikos Mavroyanopoulos
+ *
+ * This file is part of GNUTLS.
+ *
+ * GNUTLS is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * GNUTLS is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * 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);
+char *_gnutls_extension_get_name(int type);
+int _gnutls_parse_extensions( GNUTLS_STATE, const opaque*, int);
+int _gnutls_gen_extensions( GNUTLS_STATE state, opaque** data);
+