summaryrefslogtreecommitdiff
path: root/lib/quic.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/quic.h')
-rw-r--r--lib/quic.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/lib/quic.h b/lib/quic.h
new file mode 100644
index 0000000000..9eb6eebe0d
--- /dev/null
+++ b/lib/quic.h
@@ -0,0 +1,38 @@
+/*
+ * Copyright (C) 2019 Free Software Foundation, Inc.
+ *
+ * Author: Aniketh Girish
+ *
+ * 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/>
+ *
+ */
+
+/* This file contains TLS API for QUIC protocol related types, prototypes and includes.
+ */
+
+
+#ifndef GNUTLS_LIB_QUIC_H
+#define GNUTLS_LIB_QUIC_H
+
+#include "gnutls_int.h"
+
+void _gnutls_call_secret_hook_func(gnutls_session_t session,
+ gnutls_encryption_level_t level,
+ unsigned int sender,
+ const uint8_t *secret,
+ size_t secret_size);
+
+#endif /* GNUTLS_LIB_QUIC_H */