Main Page | Modules | Namespace List | Class List | Directories | File List | Class Members | File Members | Related Pages | Examples

http_main.h File Reference

#include "apr_optional.h"

Go to the source code of this file.
#define AP_SERVER_BASEARGS   "C:c:D:d:E:e:f:vVlLtSMh?X"
 APR_DECLARE_OPTIONAL_FN (int, ap_signal_server,(int *, apr_pool_t *))
AP_DECLARE_DATA const char * ap_server_argv0
AP_DECLARE_DATA const char * ap_server_root
AP_DECLARE_DATA apr_array_header_tap_server_pre_read_config
AP_DECLARE_DATA apr_array_header_tap_server_post_read_config
AP_DECLARE_DATA apr_array_header_tap_server_config_defines


Define Documentation

#define AP_SERVER_BASEARGS   "C:c:D:d:E:e:f:vVlLtSMh?X"
 

AP_SERVER_BASEARGS is the command argument list parsed by http_main.c in apr_getopt() format. Use this for default'ing args that the MPM can safely ignore and pass on from its rewrite_args() handler.

Definition at line 35 of file http_main.h.

Referenced by main(), and netware_rewrite_args().


Function Documentation

APR_DECLARE_OPTIONAL_FN int  ,
ap_signal_server  ,
(int *, apr_pool_t *) 
 

An optional function to send signal to server on presence of '-k' command line argument. Called if MPM defines AP_MPM_WANT_SIGNAL_SERVER

Parameters:
status The exit status after sending signal
pool Memory pool to allocate from


Variable Documentation

AP_DECLARE_DATA const char* ap_server_argv0
 

The name of the Apache executable

Definition at line 57 of file config.c.

Referenced by AP_DECLARE(), ap_get_local_host(), main(), open_error_log(), and os_fork().

AP_DECLARE_DATA apr_array_header_t* ap_server_config_defines
 

An array of all -D defines on the command line. This allows people to effect the server based on command line options

Definition at line 63 of file config.c.

Referenced by main().

AP_DECLARE_DATA apr_array_header_t* ap_server_post_read_config
 

An array of all -c directives. These are processed after the server's config file

Definition at line 62 of file config.c.

Referenced by AP_DECLARE(), and main().

AP_DECLARE_DATA apr_array_header_t* ap_server_pre_read_config
 

An array of all -C directives. These are processed before the server's config file

Definition at line 61 of file config.c.

Referenced by AP_DECLARE(), and main().

AP_DECLARE_DATA const char* ap_server_root
 

The global server's ServerRoot

Definition at line 59 of file config.c.

Referenced by AP_DECLARE(), beos_pre_config(), main(), prefork_pre_config(), set_server_root(), show_server_settings(), and worker_pre_config().


© sourcejam.com 2005-2008