GNU libmicrohttpd
0.9.29
|
Generic functions for IO. More...
Go to the source code of this file.
Functions | |
int | SPDYF_io_set_daemon (struct SPDY_Daemon *daemon, enum SPDY_IO_SUBSYSTEM io_subsystem) |
int | SPDYF_io_set_session (struct SPDY_Session *session, enum SPDY_IO_SUBSYSTEM io_subsystem) |
Generic functions for IO.
Definition in file io.c.
int SPDYF_io_set_daemon | ( | struct SPDY_Daemon * | daemon, |
enum SPDY_IO_SUBSYSTEM | io_subsystem | ||
) |
Sets callbacks for the daemon with regard to the IO subsystem.
daemon | |
io_subsystem | the IO subsystem that will be initialized and used by daemon. |
Definition at line 32 of file io.c.
References SPDY_Daemon::fio_deinit, SPDY_Daemon::fio_init, SPDY_IO_SUBSYSTEM_NONE, SPDY_IO_SUBSYSTEM_OPENSSL, SPDY_IO_SUBSYSTEM_RAW, SPDY_NO, SPDY_YES, SPDYF_DEBUG, SPDYF_openssl_deinit(), SPDYF_openssl_init(), SPDYF_raw_deinit(), and SPDYF_raw_init().
Referenced by SPDYF_start_daemon_va().
int SPDYF_io_set_session | ( | struct SPDY_Session * | session, |
enum SPDY_IO_SUBSYSTEM | io_subsystem | ||
) |
Sets callbacks for the session with regard to the IO subsystem.
session | |
io_subsystem | the IO subsystem that will be initialized and used by session. |
Definition at line 58 of file io.c.
References SPDY_Session::fio_after_write, SPDY_Session::fio_before_write, SPDY_Session::fio_close_session, SPDY_Session::fio_is_pending, SPDY_Session::fio_new_session, SPDY_Session::fio_recv, SPDY_Session::fio_send, SPDY_IO_SUBSYSTEM_NONE, SPDY_IO_SUBSYSTEM_OPENSSL, SPDY_IO_SUBSYSTEM_RAW, SPDY_NO, SPDY_YES, SPDYF_DEBUG, SPDYF_openssl_after_write(), SPDYF_openssl_before_write(), SPDYF_openssl_close_session(), SPDYF_openssl_is_pending(), SPDYF_openssl_new_session(), SPDYF_openssl_recv(), SPDYF_openssl_send(), SPDYF_raw_after_write(), SPDYF_raw_before_write(), SPDYF_raw_close_session(), SPDYF_raw_is_pending(), SPDYF_raw_new_session(), SPDYF_raw_recv(), and SPDYF_raw_send().
Referenced by SPDYF_session_accept().