diff options
Diffstat (limited to 'src/microspdy/io.h')
-rw-r--r-- | src/microspdy/io.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/microspdy/io.h b/src/microspdy/io.h index 42da001a..ae13890b 100644 --- a/src/microspdy/io.h +++ b/src/microspdy/io.h | |||
@@ -184,26 +184,33 @@ typedef int | |||
184 | * @return returned value will be used by the write function to return | 184 | * @return returned value will be used by the write function to return |
185 | */ | 185 | */ |
186 | typedef int | 186 | typedef int |
187 | (*SPDYF_IOAfterWrite) (struct SPDY_Session *session, int was_written); | 187 | (*SPDYF_IOAfterWrite) (struct SPDY_Session *session, |
188 | int was_written); | ||
188 | 189 | ||
189 | 190 | ||
190 | /** | 191 | /** |
191 | * Sets callbacks for the daemon with regard to the IO subsystem. | 192 | * Sets callbacks for the daemon with regard to the IO subsystem. |
192 | * | 193 | * |
193 | * @param daemon | 194 | * @param daemon |
195 | * @param io_subsystem the IO subsystem that will | ||
196 | * be initialized and used by daemon. | ||
194 | * @return SPDY_YES on success or SPDY_NO otherwise | 197 | * @return SPDY_YES on success or SPDY_NO otherwise |
195 | */ | 198 | */ |
196 | int | 199 | int |
197 | SPDYF_io_set_daemon(struct SPDY_Daemon *daemon, enum SPDY_IO_SUBSYSTEM io_subsystem); | 200 | SPDYF_io_set_daemon(struct SPDY_Daemon *daemon, |
201 | enum SPDY_IO_SUBSYSTEM io_subsystem); | ||
198 | 202 | ||
199 | 203 | ||
200 | /** | 204 | /** |
201 | * Sets callbacks for the session with regard to the IO subsystem. | 205 | * Sets callbacks for the session with regard to the IO subsystem. |
202 | * | 206 | * |
203 | * @param session | 207 | * @param session |
208 | * @param io_subsystem the IO subsystem that will | ||
209 | * be initialized and used by session. | ||
204 | * @return SPDY_YES on success or SPDY_NO otherwise | 210 | * @return SPDY_YES on success or SPDY_NO otherwise |
205 | */ | 211 | */ |
206 | int | 212 | int |
207 | SPDYF_io_set_session(struct SPDY_Session *session, enum SPDY_IO_SUBSYSTEM io_subsystem); | 213 | SPDYF_io_set_session(struct SPDY_Session *session, |
214 | enum SPDY_IO_SUBSYSTEM io_subsystem); | ||
208 | 215 | ||
209 | #endif | 216 | #endif |