src/microspdy/io.c File Reference

Generic functions for IO. More...

#include "platform.h"
#include "structures.h"
#include "internal.h"
#include "io.h"
Include dependency graph for io.c:

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)

Detailed Description

Generic functions for IO.

Author:
Andrey Uzunov

Definition in file io.c.


Function Documentation

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.

Parameters:
daemon 
io_subsystem the IO subsystem that will be initialized and used by daemon.
Returns:
SPDY_YES on success or SPDY_NO otherwise

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().

Here is the call graph for this function:

Here is the caller graph for this function:

int SPDYF_io_set_session ( struct SPDY_Session session,
enum SPDY_IO_SUBSYSTEM  io_subsystem 
)

Generated on 17 Oct 2014 for GNU libmicrohttpd by  doxygen 1.6.1