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
session.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
25
#ifndef SESSION_H
26
#define SESSION_H
27
28
#include "
platform.h
"
29
#include "
structures.h
"
30
43
int
44
SPDYF_session_read
(
struct
SPDY_Session
*session);
45
46
67
int
68
SPDYF_session_write
(
struct
SPDY_Session
*session,
69
bool
only_one_frame);
70
71
85
int
86
SPDYF_session_idle
(
struct
SPDY_Session
*session);
87
88
95
void
96
SPDYF_session_close
(
struct
SPDY_Session
*session);
97
98
107
int
108
SPDYF_session_accept
(
struct
SPDY_Daemon
*daemon);
109
110
125
void
126
SPDYF_queue_response
(
struct
SPDYF_Response_Queue
*response_to_queue,
127
struct
SPDY_Session
*session,
128
int
consider_priority);
129
130
137
void
138
SPDYF_session_destroy
(
struct
SPDY_Session
*session);
139
140
152
int
153
SPDYF_prepare_goaway
(
struct
SPDY_Session
*session,
154
enum
SPDY_GOAWAY_STATUS
status,
155
bool
in_front);
156
157
170
int
171
SPDYF_prepare_rst_stream
(
struct
SPDY_Session
*session,
172
struct
SPDYF_Stream
* stream,
173
enum
SPDY_RST_STREAM_STATUS
status);
174
175
187
int
188
SPDYF_prepare_window_update
(
struct
SPDY_Session
*session,
189
struct
SPDYF_Stream
* stream,
190
int32_t delta_window_size);
191
192
207
int
208
SPDYF_handler_write_data
(
struct
SPDY_Session
*session);
209
210
222
int
223
SPDYF_handler_write_syn_reply
(
struct
SPDY_Session
*session);
224
225
236
int
237
SPDYF_handler_write_goaway
(
struct
SPDY_Session
*session);
238
239
250
int
251
SPDYF_handler_write_rst_stream
(
struct
SPDY_Session
*session);
252
253
264
int
265
SPDYF_handler_write_window_update
(
struct
SPDY_Session
*session);
266
267
278
void
279
SPDYF_handler_ignore_frame
(
struct
SPDY_Session
*session);
280
281
#endif
src
microspdy
session.h
Generated by
1.8.3.1