MHD_Daemon Struct Reference

#include <internal.h>


Data Fields

MHD_AccessHandlerCallback default_handler
void * default_handler_cls
struct MHD_Connectionconnections
MHD_AcceptPolicyCallback apc
void * apc_cls
MHD_RequestCompletedCallback notify_completed
void * notify_completed_cls
pthread_t pid
int socket_fd
int shutdown
unsigned int pool_size
unsigned int max_connections
unsigned int connection_timeout
unsigned int per_ip_connection_limit
enum MHD_OPTION options
unsigned short port


Detailed Description

Definition at line 517 of file internal.h.


Field Documentation

Callback function for all requests.

Definition at line 523 of file internal.h.

Referenced by call_connection_handler(), and MHD_start_daemon().

Closure argument to default_handler.

Definition at line 528 of file internal.h.

Referenced by MHD_start_daemon().

Linked list of our current connections.

Definition at line 533 of file internal.h.

Referenced by MHD_accept_connection(), MHD_cleanup_connections(), MHD_get_fdset(), MHD_get_timeout(), MHD_select(), and MHD_stop_daemon().

Definition at line 535 of file internal.h.

Referenced by MHD_accept_connection(), and MHD_start_daemon().

Definition at line 537 of file internal.h.

Referenced by MHD_accept_connection(), and MHD_start_daemon().

Definition at line 541 of file internal.h.

Referenced by MHD_start_daemon(), and MHD_stop_daemon().

pthread_t MHD_Daemon::pid

PID of the select thread (if we have internal select)

Definition at line 546 of file internal.h.

Referenced by MHD_start_daemon(), and MHD_stop_daemon().

Listen socket.

Definition at line 551 of file internal.h.

Referenced by MHD_accept_connection(), MHD_get_fdset(), MHD_select(), MHD_start_daemon(), and MHD_stop_daemon().

Are we shutting down?

Definition at line 556 of file internal.h.

Referenced by MHD_get_fdset(), MHD_handle_connection(), MHD_run(), MHD_select(), MHD_select_thread(), and MHD_stop_daemon().

unsigned int MHD_Daemon::pool_size

Size of the per-connection memory pools.

Definition at line 561 of file internal.h.

Referenced by MHD_connection_get_fdset(), MHD_start_daemon(), and try_ready_chunked_body().

Limit on the number of parallel connections.

Definition at line 566 of file internal.h.

Referenced by MHD_accept_connection(), MHD_cleanup_connections(), and MHD_start_daemon().

After how many seconds of inactivity should connections time out? Zero for no timeout.

Definition at line 572 of file internal.h.

Referenced by MHD_connection_handle_idle(), MHD_get_timeout(), MHD_handle_connection(), and MHD_start_daemon().

Maximum number of connections per IP, or 0 for unlimited.

Definition at line 578 of file internal.h.

Referenced by MHD_accept_connection(), and MHD_start_daemon().

unsigned short MHD_Daemon::port

Listen port.

Definition at line 588 of file internal.h.

Referenced by MHD_start_daemon().


The documentation for this struct was generated from the following file:

Generated on Fri Oct 3 15:57:41 2008 for GNU libmicrohttpd by  doxygen 1.5.6