aboutsummaryrefslogtreecommitdiff
path: root/src/include/microhttpd_tls.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/microhttpd_tls.h')
-rw-r--r--src/include/microhttpd_tls.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/include/microhttpd_tls.h b/src/include/microhttpd_tls.h
index 85862a45..f5b48522 100644
--- a/src/include/microhttpd_tls.h
+++ b/src/include/microhttpd_tls.h
@@ -1,6 +1,33 @@
1/*
2 This file is part of libmicrohttpd
3 Copyright (C) 2018 Christian Grothoff (and other contributing authors)
4
5 This library is free software; you can redistribute it and/or
6 modify it under the terms of the GNU Lesser General Public
7 License as published by the Free Software Foundation; either
8 version 2.1 of the License, or (at your option) any later version.
9
10 This library is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Lesser General Public License for more details.
14
15 You should have received a copy of the GNU Lesser General Public
16 License along with this library; if not, write to the Free Software
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18*/
19
20/**
21 * @file microhttpd_tls.h
22 * @brief interface for TLS plugins of libmicrohttpd
23 * @author Christian Grothoff
24 */
25
1#ifndef MICROHTTPD_TLS_H 26#ifndef MICROHTTPD_TLS_H
2#define MICROHTTPD_TLS_H 27#define MICROHTTPD_TLS_H
3 28
29#include <microhttpd2.h>
30
4/** 31/**
5 * Version of the TLS ABI. 32 * Version of the TLS ABI.
6 */ 33 */
@@ -100,6 +127,12 @@ struct MHD_TLS_Plugin
100 enum MHD_Bool 127 enum MHD_Bool
101 (*idle_ready)(void *cls, 128 (*idle_ready)(void *cls,
102 struct MHD_TLS_ConnectionState *cs); 129 struct MHD_TLS_ConnectionState *cs);
130
131
132 enum MHD_Bool
133 (*update_event_loop_info)(void *cls,
134 struct MHD_TLS_ConnectionState *cs,
135 enum MHD_RequestEventLoopInfo *eli);
103 136
104 ssize_t 137 ssize_t
105 (*send)(void *cls, 138 (*send)(void *cls,