Loading include/ap_listen.h +6 −6 Changes for include/ap_listen.h: 6 added lines, 6 removed lines. Original line number Diff line number Diff line Loading @@ -63,7 +63,7 @@ AP_DECLARE_DATA extern ap_listen_rec *ap_listeners; /** * Setup all of the defaults for the listener list */ void ap_listen_pre_config(void); AP_DECLARE(void) ap_listen_pre_config(void); #if !defined(SPMT_OS2_MPM) /** * Loop through the global ap_listen_rec list and create all of the required Loading @@ -73,7 +73,7 @@ void ap_listen_pre_config(void); * @warning This function is not available to Windows platforms, or the * Prefork or SPMT_OS2 MPMs. */ int ap_setup_listeners(server_rec *s); AP_DECLARE(int) ap_setup_listeners(server_rec *s); #endif /* Split into two #if's to make the exports scripts easier. */ Loading @@ -87,7 +87,7 @@ int ap_setup_listeners(server_rec *s); * @warning This function is only available to Windows platforms, or the * Prefork or SPMT_OS2 MPMs. */ int ap_listen_open(process_rec *process, apr_port_t port); AP_DECLARE(int) ap_listen_open(process_rec *process, apr_port_t port); #endif /* Although these functions are exported from libmain, they are not really Loading @@ -97,9 +97,9 @@ int ap_listen_open(process_rec *process, apr_port_t port); * LISTEN_COMMANDS in their command_rec table so that these functions are * called. */ const char *ap_set_listenbacklog(cmd_parms *cmd, void *dummy, const char *arg); const char *ap_set_listener(cmd_parms *cmd, void *dummy, const char *ips); const char *ap_set_send_buffer_size(cmd_parms *cmd, void *dummy, AP_DECLARE(const char *) ap_set_listenbacklog(cmd_parms *cmd, void *dummy, const char *arg); AP_DECLARE(const char *) ap_set_listener(cmd_parms *cmd, void *dummy, const char *ips); AP_DECLARE(const char *) ap_set_send_buffer_size(cmd_parms *cmd, void *dummy, const char *arg); #define LISTEN_COMMANDS \ Loading server/listen.c +7 −7 Changes for server/listen.c: 7 added lines, 7 removed lines. Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ #include "mpm.h" #include "mpm_common.h" ap_listen_rec *ap_listeners = NULL; AP_DECLARE_DATA ap_listen_rec *ap_listeners = NULL; static ap_listen_rec *old_listeners; static int ap_listenbacklog; Loading Loading @@ -288,7 +288,7 @@ static const char *alloc_listener(process_rec *process, char *addr, apr_port_t p return NULL; } static int ap_listen_open(apr_pool_t *pool, apr_port_t port) AP_DECLARE(int) ap_listen_open(apr_pool_t *pool, apr_port_t port) { ap_listen_rec *lr; ap_listen_rec *next; Loading Loading @@ -418,7 +418,7 @@ static int ap_listen_open(apr_pool_t *pool, apr_port_t port) return num_open ? 0 : -1; } int ap_setup_listeners(server_rec *s) AP_DECLARE(int) ap_setup_listeners(server_rec *s) { ap_listen_rec *lr; int num_listeners = 0; Loading @@ -434,7 +434,7 @@ int ap_setup_listeners(server_rec *s) return num_listeners; } void ap_listen_pre_config(void) AP_DECLARE(void) ap_listen_pre_config(void) { old_listeners = ap_listeners; ap_listeners = NULL; Loading @@ -442,7 +442,7 @@ void ap_listen_pre_config(void) } const char *ap_set_listener(cmd_parms *cmd, void *dummy, const char *ips) AP_DECLARE(const char *) ap_set_listener(cmd_parms *cmd, void *dummy, const char *ips) { char *host, *scope_id; apr_port_t port; Loading Loading @@ -474,7 +474,7 @@ const char *ap_set_listener(cmd_parms *cmd, void *dummy, const char *ips) return alloc_listener(cmd->server->process, host, port); } const char *ap_set_listenbacklog(cmd_parms *cmd, void *dummy, const char *arg) AP_DECLARE(const char *) ap_set_listenbacklog(cmd_parms *cmd, void *dummy, const char *arg) { int b; const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY); Loading @@ -492,7 +492,7 @@ const char *ap_set_listenbacklog(cmd_parms *cmd, void *dummy, const char *arg) return NULL; } const char *ap_set_send_buffer_size(cmd_parms *cmd, void *dummy, AP_DECLARE(const char *) ap_set_send_buffer_size(cmd_parms *cmd, void *dummy, const char *arg) { int s = atoi(arg); Loading Loading
include/ap_listen.h +6 −6 Changes for include/ap_listen.h: 6 added lines, 6 removed lines. Original line number Diff line number Diff line Loading @@ -63,7 +63,7 @@ AP_DECLARE_DATA extern ap_listen_rec *ap_listeners; /** * Setup all of the defaults for the listener list */ void ap_listen_pre_config(void); AP_DECLARE(void) ap_listen_pre_config(void); #if !defined(SPMT_OS2_MPM) /** * Loop through the global ap_listen_rec list and create all of the required Loading @@ -73,7 +73,7 @@ void ap_listen_pre_config(void); * @warning This function is not available to Windows platforms, or the * Prefork or SPMT_OS2 MPMs. */ int ap_setup_listeners(server_rec *s); AP_DECLARE(int) ap_setup_listeners(server_rec *s); #endif /* Split into two #if's to make the exports scripts easier. */ Loading @@ -87,7 +87,7 @@ int ap_setup_listeners(server_rec *s); * @warning This function is only available to Windows platforms, or the * Prefork or SPMT_OS2 MPMs. */ int ap_listen_open(process_rec *process, apr_port_t port); AP_DECLARE(int) ap_listen_open(process_rec *process, apr_port_t port); #endif /* Although these functions are exported from libmain, they are not really Loading @@ -97,9 +97,9 @@ int ap_listen_open(process_rec *process, apr_port_t port); * LISTEN_COMMANDS in their command_rec table so that these functions are * called. */ const char *ap_set_listenbacklog(cmd_parms *cmd, void *dummy, const char *arg); const char *ap_set_listener(cmd_parms *cmd, void *dummy, const char *ips); const char *ap_set_send_buffer_size(cmd_parms *cmd, void *dummy, AP_DECLARE(const char *) ap_set_listenbacklog(cmd_parms *cmd, void *dummy, const char *arg); AP_DECLARE(const char *) ap_set_listener(cmd_parms *cmd, void *dummy, const char *ips); AP_DECLARE(const char *) ap_set_send_buffer_size(cmd_parms *cmd, void *dummy, const char *arg); #define LISTEN_COMMANDS \ Loading
server/listen.c +7 −7 Changes for server/listen.c: 7 added lines, 7 removed lines. Original line number Diff line number Diff line Loading @@ -28,7 +28,7 @@ #include "mpm.h" #include "mpm_common.h" ap_listen_rec *ap_listeners = NULL; AP_DECLARE_DATA ap_listen_rec *ap_listeners = NULL; static ap_listen_rec *old_listeners; static int ap_listenbacklog; Loading Loading @@ -288,7 +288,7 @@ static const char *alloc_listener(process_rec *process, char *addr, apr_port_t p return NULL; } static int ap_listen_open(apr_pool_t *pool, apr_port_t port) AP_DECLARE(int) ap_listen_open(apr_pool_t *pool, apr_port_t port) { ap_listen_rec *lr; ap_listen_rec *next; Loading Loading @@ -418,7 +418,7 @@ static int ap_listen_open(apr_pool_t *pool, apr_port_t port) return num_open ? 0 : -1; } int ap_setup_listeners(server_rec *s) AP_DECLARE(int) ap_setup_listeners(server_rec *s) { ap_listen_rec *lr; int num_listeners = 0; Loading @@ -434,7 +434,7 @@ int ap_setup_listeners(server_rec *s) return num_listeners; } void ap_listen_pre_config(void) AP_DECLARE(void) ap_listen_pre_config(void) { old_listeners = ap_listeners; ap_listeners = NULL; Loading @@ -442,7 +442,7 @@ void ap_listen_pre_config(void) } const char *ap_set_listener(cmd_parms *cmd, void *dummy, const char *ips) AP_DECLARE(const char *) ap_set_listener(cmd_parms *cmd, void *dummy, const char *ips) { char *host, *scope_id; apr_port_t port; Loading Loading @@ -474,7 +474,7 @@ const char *ap_set_listener(cmd_parms *cmd, void *dummy, const char *ips) return alloc_listener(cmd->server->process, host, port); } const char *ap_set_listenbacklog(cmd_parms *cmd, void *dummy, const char *arg) AP_DECLARE(const char *) ap_set_listenbacklog(cmd_parms *cmd, void *dummy, const char *arg) { int b; const char *err = ap_check_cmd_context(cmd, GLOBAL_ONLY); Loading @@ -492,7 +492,7 @@ const char *ap_set_listenbacklog(cmd_parms *cmd, void *dummy, const char *arg) return NULL; } const char *ap_set_send_buffer_size(cmd_parms *cmd, void *dummy, AP_DECLARE(const char *) ap_set_send_buffer_size(cmd_parms *cmd, void *dummy, const char *arg) { int s = atoi(arg); Loading