Apache Listeners Library
[Apache Core]


データ構造

struct  ap_listen_rec
 Apache's listeners record. [詳細]

マクロ定義

#define LISTEN_COMMANDS

型定義

typedef ap_listen_rec ap_listen_rec
typedef apr_status_t(*) accept_function (void **csd, ap_listen_rec *lr, apr_pool_t *ptrans)

関数

void ap_listen_pre_config (void)
int ap_setup_listeners (server_rec *s)
void ap_close_listeners (void)
const char * ap_set_listenbacklog (cmd_parms *cmd, void *dummy, const char *arg)
const char * ap_set_listener (cmd_parms *cmd, void *dummy, int argc, char *const argv[])
const char * ap_set_send_buffer_size (cmd_parms *cmd, void *dummy, const char *arg)
const char * ap_set_receive_buffer_size (cmd_parms *cmd, void *dummy, const char *arg)

変数

AP_DECLARE_DATA ap_listen_recap_listeners

マクロ定義

#define LISTEN_COMMANDS

値:

AP_INIT_TAKE1("ListenBacklog", ap_set_listenbacklog, NULL, RSRC_CONF, \
  "Maximum length of the queue of pending connections, as used by listen(2)"), \
AP_INIT_TAKE_ARGV("Listen", ap_set_listener, NULL, RSRC_CONF, \
  "A port number or a numeric IP address and a port number, and an optional protocol"), \
AP_INIT_TAKE1("SendBufferSize", ap_set_send_buffer_size, NULL, RSRC_CONF, \
  "Send buffer size in bytes"), \
AP_INIT_TAKE1("ReceiveBufferSize", ap_set_receive_buffer_size, NULL, \
              RSRC_CONF, "Receive buffer size in bytes")


関数

void ap_close_listeners ( void   ) 

Loop through the global ap_listen_rec list and close each of the sockets.

void ap_listen_pre_config ( void   ) 

Setup all of the defaults for the listener list

int ap_setup_listeners ( server_rec s  ) 

Loop through the global ap_listen_rec list and create all of the required sockets. This executes the listen and bind on the sockets.

引数:
s The global server_rec
戻り値:
The number of open sockets.


変数

AP_DECLARE_DATA ap_listen_rec* ap_listeners

The global list of ap_listen_rec structures


Apacheに対してSun Jul 19 22:05:27 2009に生成されました。  doxygen 1.4.7