GNU libmicrohttpd
0.9.72
|
function to run select()-based event loop of a daemon More...
#include "internal.h"
#include "connection_add.h"
#include "connection_call_handlers.h"
#include "connection_cleanup.h"
#include "connection_finish_forward.h"
#include "daemon_select.h"
#include "daemon_epoll.h"
#include "request_resume.h"
#include "upgrade_process.h"
Go to the source code of this file.
Functions | |
enum MHD_StatusCode | MHD_daemon_get_fdset (struct MHD_Daemon *daemon, fd_set *read_fd_set, fd_set *write_fd_set, fd_set *except_fd_set, MHD_socket *max_fd) |
static enum MHD_StatusCode | internal_get_fdset2 (struct MHD_Daemon *daemon, fd_set *read_fd_set, fd_set *write_fd_set, fd_set *except_fd_set, MHD_socket *max_fd, unsigned int fd_setsize) |
enum MHD_StatusCode | MHD_daemon_get_fdset2 (struct MHD_Daemon *daemon, fd_set *read_fd_set, fd_set *write_fd_set, fd_set *except_fd_set, MHD_socket *max_fd, unsigned int fd_setsize) |
static enum MHD_StatusCode | internal_run_from_select (struct MHD_Daemon *daemon, const fd_set *read_fd_set, const fd_set *write_fd_set, const fd_set *except_fd_set) |
enum MHD_StatusCode | MHD_daemon_run_from_select (struct MHD_Daemon *daemon, const fd_set *read_fd_set, const fd_set *write_fd_set, const fd_set *except_fd_set) |
enum MHD_StatusCode | MHD_daemon_select_ (struct MHD_Daemon *daemon, int may_block) |
function to run select()-based event loop of a daemon
Definition in file daemon_select.c.
enum MHD_StatusCode MHD_daemon_select_ | ( | struct MHD_Daemon * | daemon, |
int | may_block | ||
) |
Main internal select() call. Will compute select sets, call select() and then internal_run_from_select() with the result.
daemon | daemon to run select() loop for |
may_block | MHD_YES if blocking, MHD_NO if non-blocking |
Definition at line 1 of file daemon_select.c.
Referenced by MHD_daemon_run(), and MHD_daemon_start().