#include </builddir/build/BUILD/libmicrohttpd-0.9.33/src/microspdy/structures.h>
Data Fields | |
struct SPDY_Session * | sessions_head |
struct SPDY_Session * | sessions_tail |
struct SPDY_Session * | cleanup_head |
struct SPDY_Session * | cleanup_tail |
void * | io_context |
char * | certfile |
char * | keyfile |
struct sockaddr * | address |
SPDY_NewSessionCallback | new_session_cb |
SPDY_SessionClosedCallback | session_closed_cb |
SPDY_NewRequestCallback | new_request_cb |
SPDY_NewDataCallback | received_data_cb |
SPDYF_NewDataCallback | freceived_data_cb |
void * | cls |
SPDYF_NewStreamCallback | fnew_stream_cb |
void * | fcls |
SPDYF_IOInit | fio_init |
SPDYF_IODeinit | fio_deinit |
unsigned long long | session_timeout |
int | socket_fd |
uint32_t | max_num_frames |
enum SPDY_DAEMON_OPTION | options |
enum SPDY_DAEMON_FLAG | flags |
enum SPDY_IO_SUBSYSTEM | io_subsystem |
uint16_t | port |
State and settings kept for each SPDY daemon.
Definition at line 860 of file structures.h.
struct sockaddr* SPDY_Daemon::address [read] |
The address to which the listening socket is bound.
Definition at line 903 of file structures.h.
Referenced by spdyf_parse_options_va(), SPDYF_start_daemon_va(), and SPDYF_stop_daemon().
char* SPDY_Daemon::certfile |
Certificate file of the server. File path is kept here.
Definition at line 891 of file structures.h.
Referenced by SPDYF_openssl_init(), SPDYF_start_daemon_va(), and SPDYF_stop_daemon().
struct SPDY_Session* SPDY_Daemon::cleanup_head [read] |
Tail of doubly-linked list of connections to clean up.
Definition at line 876 of file structures.h.
Referenced by spdyf_cleanup_sessions(), and SPDYF_session_close().
struct SPDY_Session* SPDY_Daemon::cleanup_tail [read] |
Tail of doubly-linked list of connections to clean up.
Definition at line 881 of file structures.h.
Referenced by spdyf_cleanup_sessions(), and SPDYF_session_close().
void* SPDY_Daemon::cls |
Closure argument for all the callbacks that can be used by the client.
Definition at line 935 of file structures.h.
Referenced by spdy_handler_new_stream(), spdyf_handler_read_data(), SPDYF_session_accept(), SPDYF_session_close(), and SPDYF_start_daemon_va().
void* SPDY_Daemon::fcls |
Closure argument for all the callbacks defined in the framing layer.
Definition at line 945 of file structures.h.
Referenced by spdyf_handler_read_syn_stream(), and SPDYF_start_daemon_va().
Function to deinitialize the IO context for the daemon.
Definition at line 955 of file structures.h.
Referenced by SPDYF_io_set_daemon(), and SPDYF_stop_daemon().
Function to initialize the IO context for the daemon.
Definition at line 950 of file structures.h.
Referenced by SPDYF_io_set_daemon(), and SPDYF_start_daemon_va().
Daemon's flags.
Definition at line 986 of file structures.h.
Referenced by spdyf_parse_options_va(), SPDYF_raw_after_write(), SPDYF_raw_before_write(), SPDYF_raw_new_session(), and SPDYF_start_daemon_va().
Callback called when new stream is created.
Definition at line 940 of file structures.h.
Referenced by spdyf_handler_read_syn_stream(), and SPDYF_start_daemon_va().
Callback called when DATA frame is received.
Definition at line 930 of file structures.h.
Referenced by spdyf_handler_read_data(), and SPDYF_start_daemon_va().
void* SPDY_Daemon::io_context |
Unique IO context for the daemon. Initialized on daemon start.
Definition at line 886 of file structures.h.
Referenced by SPDYF_openssl_deinit(), SPDYF_openssl_init(), and SPDYF_openssl_new_session().
IO subsystem type used by daemon and all its sessions.
Definition at line 991 of file structures.h.
Referenced by spdyf_parse_options_va(), SPDYF_session_accept(), and SPDYF_start_daemon_va().
char* SPDY_Daemon::keyfile |
Key file for the certificate of the server. File path is kept here.
Definition at line 897 of file structures.h.
Referenced by SPDYF_openssl_init(), SPDYF_start_daemon_va(), and SPDYF_stop_daemon().
uint32_t SPDY_Daemon::max_num_frames |
This value is inherited by all sessions of the daemon. Maximum number of frames to be written to the socket at once. The library tries to send max_num_frames in a single call to SPDY_run for a single session. This means no requests can be received nor other sessions can send data as long the current one has enough frames to send and there is no error on writing.
Definition at line 976 of file structures.h.
Referenced by spdyf_parse_options_va(), SPDYF_session_accept(), and SPDYF_start_daemon_va().
Callback called when a client sends request
Definition at line 919 of file structures.h.
Referenced by spdy_handler_new_stream(), and SPDYF_start_daemon_va().
Callback called when a new SPDY session is established by a client
Definition at line 909 of file structures.h.
Referenced by SPDYF_session_accept(), and SPDYF_start_daemon_va().
Daemon's options.
Definition at line 981 of file structures.h.
Referenced by spdyf_parse_options_va(), and SPDYF_stop_daemon().
uint16_t SPDY_Daemon::port |
Callback called when HTTP POST params are received after request. To be used by the application layer
Definition at line 925 of file structures.h.
Referenced by spdy_handler_new_data(), spdyf_handler_read_data(), and SPDYF_start_daemon_va().
Callback called when a client closes the session
Definition at line 914 of file structures.h.
Referenced by SPDYF_session_close(), and SPDYF_start_daemon_va().
unsigned long long SPDY_Daemon::session_timeout |
After how many milliseconds of inactivity should connections time out? Zero for no timeout.
Definition at line 961 of file structures.h.
Referenced by SPDYF_get_fdset(), SPDYF_get_timeout(), spdyf_parse_options_va(), and SPDYF_session_idle().
struct SPDY_Session* SPDY_Daemon::sessions_head [read] |
Tail of doubly-linked list of our current, active sessions.
Definition at line 866 of file structures.h.
Referenced by spdyf_close_all_sessions(), SPDYF_get_fdset(), SPDYF_get_timeout(), SPDYF_run(), SPDYF_session_accept(), and SPDYF_session_close().
struct SPDY_Session* SPDY_Daemon::sessions_tail [read] |
Tail of doubly-linked list of our current, active sessions.
Definition at line 871 of file structures.h.
Referenced by SPDYF_session_accept(), and SPDYF_session_close().
Listen socket.
Definition at line 966 of file structures.h.
Referenced by SPDYF_get_fdset(), SPDYF_run(), SPDYF_session_accept(), SPDYF_start_daemon_va(), and SPDYF_stop_daemon().