diff options
author | Andrey Uzunov <andrey.uzunov@gmail.com> | 2013-07-05 23:08:31 +0000 |
---|---|---|
committer | Andrey Uzunov <andrey.uzunov@gmail.com> | 2013-07-05 23:08:31 +0000 |
commit | 9074d6d2e8644a77fba1573bc0ec594e92899ee6 (patch) | |
tree | 507364ca963f3fd9afc002d64263d0cf40e784a6 /src/microspdy/io.h | |
parent | 4c3d16c35ece22321f7a2b133e56e41437d60052 (diff) | |
download | libmicrohttpd-9074d6d2e8644a77fba1573bc0ec594e92899ee6.tar.gz libmicrohttpd-9074d6d2e8644a77fba1573bc0ec594e92899ee6.zip |
spdy: TCP_CORK added for io_raw
Diffstat (limited to 'src/microspdy/io.h')
-rw-r--r-- | src/microspdy/io.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/microspdy/io.h b/src/microspdy/io.h index cd67198d..42da001a 100644 --- a/src/microspdy/io.h +++ b/src/microspdy/io.h | |||
@@ -163,6 +163,31 @@ typedef int | |||
163 | 163 | ||
164 | 164 | ||
165 | /** | 165 | /** |
166 | * Called just before frames are about to be processed and written | ||
167 | * to the socket. | ||
168 | * | ||
169 | * @param session | ||
170 | * @return SPDY_NO if writing must not happen in the call; | ||
171 | * SPDY_YES otherwise | ||
172 | */ | ||
173 | typedef int | ||
174 | (*SPDYF_IOBeforeWrite) (struct SPDY_Session *session); | ||
175 | |||
176 | |||
177 | /** | ||
178 | * Called just after frames have been processed and written | ||
179 | * to the socket. | ||
180 | * | ||
181 | * @param session | ||
182 | * @param was_written has the same value as the write function for the | ||
183 | * session will return | ||
184 | * @return returned value will be used by the write function to return | ||
185 | */ | ||
186 | typedef int | ||
187 | (*SPDYF_IOAfterWrite) (struct SPDY_Session *session, int was_written); | ||
188 | |||
189 | |||
190 | /** | ||
166 | * Sets callbacks for the daemon with regard to the IO subsystem. | 191 | * Sets callbacks for the daemon with regard to the IO subsystem. |
167 | * | 192 | * |
168 | * @param daemon | 193 | * @param daemon |