summaryrefslogtreecommitdiffstats
path: root/lib/supplemental.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/supplemental.h')
-rw-r--r--lib/supplemental.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/lib/supplemental.h b/lib/supplemental.h
new file mode 100644
index 0000000..446d709
--- /dev/null
+++ b/lib/supplemental.h
@@ -0,0 +1,35 @@
+/*
+ * Copyright (C) 2007-2012 Free Software Foundation, Inc.
+ *
+ * Author: Simon Josefsson
+ *
+ * This file is part of GnuTLS.
+ *
+ * The GnuTLS 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 program. If not, see <https://www.gnu.org/licenses/>
+ *
+ */
+
+#ifndef GNUTLS_LIB_SUPPLEMENTAL_H
+#define GNUTLS_LIB_SUPPLEMENTAL_H
+
+#include "gnutls_int.h"
+
+int _gnutls_parse_supplemental(gnutls_session_t session,
+ const uint8_t * data, int data_size);
+int _gnutls_gen_supplemental(gnutls_session_t session,
+ gnutls_buffer_st * buf);
+
+void _gnutls_supplemental_deinit(void);
+
+#endif /* GNUTLS_LIB_SUPPLEMENTAL_H */