summaryrefslogtreecommitdiff
path: root/lib/ext_oprfi.h
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2007-09-20 14:52:39 +0200
committerSimon Josefsson <simon@josefsson.org>2007-09-20 14:52:39 +0200
commitbdcd70e2b483f15189855cf966d96759686555a1 (patch)
tree495c4d558b82c8ec266980e9c3f56f82d773e200 /lib/ext_oprfi.h
parent15688b6cb74ad0a89b90a536db0771fc89eb3685 (diff)
downloadgnutls-bdcd70e2b483f15189855cf966d96759686555a1.tar.gz
Support for Opaque PRF Input TLS extension.
Diffstat (limited to 'lib/ext_oprfi.h')
-rw-r--r--lib/ext_oprfi.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/lib/ext_oprfi.h b/lib/ext_oprfi.h
new file mode 100644
index 0000000000..7f75be9c7e
--- /dev/null
+++ b/lib/ext_oprfi.h
@@ -0,0 +1,33 @@
+/*
+ * Copyright (C) 2007 Free Software Foundation
+ *
+ * Author: Simon Josefsson
+ *
+ * This file is part of GNUTLS.
+ *
+ * The GNUTLS library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public License
+ * as published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This library 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
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
+ * USA
+ *
+ */
+
+#include <gnutls_int.h>
+
+int _gnutls_oprfi_recv_params (gnutls_session_t state,
+ const opaque * data,
+ size_t data_size);
+
+int _gnutls_oprfi_send_params (gnutls_session_t state,
+ opaque * data,
+ size_t data_size);