Apache HTTPD
Macros | Functions
main.c File Reference
#include "apr.h"
#include "apr_strings.h"
#include "apr_getopt.h"
#include "apr_general.h"
#include "apr_lib.h"
#include "apr_md5.h"
#include "apr_time.h"
#include "apr_thread_proc.h"
#include "apr_version.h"
#include "apu_version.h"
#include "apr_want.h"
#include "ap_config.h"
#include "httpd.h"
#include "http_main.h"
#include "http_log.h"
#include "http_config.h"
#include "http_core.h"
#include "mod_core.h"
#include "http_request.h"
#include "http_vhost.h"
#include "apr_uri.h"
#include "util_ebcdic.h"
#include "ap_mpm.h"

Go to the source code of this file.

Macros

#define APR_WANT_STDIO
 
#define APR_WANT_STRFUNC
 
#define TASK_SWITCH_SLEEP   10000
 

Functions

static void show_mpm_settings (void)
 
static void show_compile_settings (void)
 
static void destroy_and_exit_process (process_rec *process, int process_exit_value)
 
static int abort_on_oom (int retcode)
 
static apr_status_t deregister_all_hooks (void *unused)
 
static void reset_process_pconf (process_rec *process)
 
static process_recinit_process (int *argc, const char *const **argv)
 
static void usage (process_rec *process)
 
int main (int argc, const char *const argv[])
 

Macro Definition Documentation

◆ APR_WANT_STDIO

#define APR_WANT_STDIO

Definition at line 28 of file main.c.

◆ APR_WANT_STRFUNC

#define APR_WANT_STRFUNC

Definition at line 29 of file main.c.

◆ TASK_SWITCH_SLEEP

#define TASK_SWITCH_SLEEP   10000

Definition at line 255 of file main.c.

Function Documentation

◆ abort_on_oom()

static int abort_on_oom ( int  retcode)
static

Definition at line 275 of file main.c.

◆ deregister_all_hooks()

static apr_status_t deregister_all_hooks ( void *  unused)
static

Definition at line 285 of file main.c.

◆ destroy_and_exit_process()

static void destroy_and_exit_process ( process_rec process,
int  process_exit_value 
)
static

Definition at line 257 of file main.c.

◆ init_process()

static process_rec * init_process ( int argc,
const char *const **  argv 
)
static

Definition at line 306 of file main.c.

◆ main()

int main ( int  argc,
const char *const  argv[] 
)

< Module has handled this stage.

< Module has handled this stage.

< Module has handled this stage.

< Module has handled this stage.

< Module has handled this stage.

< Module has handled this stage.

< Module has handled this stage.

< Module has handled this stage.

< Module has handled this stage.

< Module has handled this stage.

< Module has handled this stage.

< Module has handled this stage.

< Module has handled this stage.

< Module has served the response completely * - it's safe to die() with no more output

< Module has handled this stage.

< Module has handled this stage.

< Module has handled this stage.

Definition at line 488 of file main.c.

◆ reset_process_pconf()

static void reset_process_pconf ( process_rec process)
static

Definition at line 293 of file main.c.

◆ show_compile_settings()

static void show_compile_settings ( void  )
static

Definition at line 95 of file main.c.

◆ show_mpm_settings()

static void show_mpm_settings ( void  )
static

< This value specifies that * an MPM is using a dynamic * number of threads or daemons

< This value specifies that * an MPM is using a static * number of threads or daemons

< This value specifies that * an MPM is using a dynamic * number of threads or daemons

< This value specifies that * an MPM is using a static * number of threads or daemons

Definition at line 55 of file main.c.

◆ usage()

static void usage ( process_rec process)
static

Definition at line 376 of file main.c.