GNU libmicrohttpd
0.9.29
Main Page
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
io_openssl.h
Go to the documentation of this file.
1
/*
2
This file is part of libmicrospdy
3
Copyright (C) 2012 Andrey Uzunov
4
5
This program is free software: you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation, either version 3 of the License, or
8
(at your option) any later version.
9
10
This program 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
13
GNU General Public License for more details.
14
15
You should have received a copy of the GNU General Public License
16
along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
27
#ifndef IO_OPENSSL_H
28
#define IO_OPENSSL_H
29
30
#include "
platform.h
"
31
#include "
io.h
"
32
#include <openssl/err.h>
33
#include <openssl/ssl.h>
34
#include <openssl/rand.h>
35
36
41
void
42
SPDYF_openssl_global_init
();
43
44
50
void
51
SPDYF_openssl_global_deinit
();
52
53
62
int
63
SPDYF_openssl_init
(
struct
SPDY_Daemon
*
daemon
);
64
65
72
void
73
SPDYF_openssl_deinit
(
struct
SPDY_Daemon
*
daemon
);
74
75
83
int
84
SPDYF_openssl_new_session
(
struct
SPDY_Session
*session);
85
86
93
void
94
SPDYF_openssl_close_session
(
struct
SPDY_Session
*session);
95
96
108
int
109
SPDYF_openssl_recv
(
struct
SPDY_Session
*session,
110
void
* buffer,
111
size_t
size);
112
113
126
int
127
SPDYF_openssl_send
(
struct
SPDY_Session
*session,
128
const
void
* buffer,
129
size_t
size);
130
131
139
int
140
SPDYF_openssl_is_pending
(
struct
SPDY_Session
*session);
141
142
150
int
151
SPDYF_openssl_before_write
(
struct
SPDY_Session
*session);
152
153
162
int
163
SPDYF_openssl_after_write
(
struct
SPDY_Session
*session,
int
was_written);
164
165
166
#endif
src
microspdy
io_openssl.h
Generated by
1.8.3.1