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_raw.h
Go to the documentation of this file.
1
/*
2
This file is part of libmicrospdy
3
Copyright (C) 2013 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
25
#ifndef IO_RAW_H
26
#define IO_RAW_H
27
28
#include "
platform.h
"
29
30
35
void
36
SPDYF_raw_global_init
();
37
38
44
void
45
SPDYF_raw_global_deinit
();
46
47
54
int
55
SPDYF_raw_init
(
struct
SPDY_Daemon
*
daemon
);
56
57
64
void
65
SPDYF_raw_deinit
(
struct
SPDY_Daemon
*
daemon
);
66
67
75
int
76
SPDYF_raw_new_session
(
struct
SPDY_Session
*session);
77
78
85
void
86
SPDYF_raw_close_session
(
struct
SPDY_Session
*session);
87
88
100
int
101
SPDYF_raw_recv
(
struct
SPDY_Session
*session,
102
void
* buffer,
103
size_t
size);
104
105
118
int
119
SPDYF_raw_send
(
struct
SPDY_Session
*session,
120
const
void
* buffer,
121
size_t
size);
122
123
132
int
133
SPDYF_raw_is_pending
(
struct
SPDY_Session
*session);
134
135
143
int
144
SPDYF_raw_before_write
(
struct
SPDY_Session
*session);
145
146
155
int
156
SPDYF_raw_after_write
(
struct
SPDY_Session
*session,
int
was_written);
157
158
#endif
src
microspdy
io_raw.h
Generated by
1.8.3.1