HTTP

xiaoxiao2021-04-03  228

#ifndef apache_http_conf_globals_h # define apache_http_conf_globals_h

#ifdef __cplusplusextern "c" {#ENDIF

/ * * Process config --- What the process itself is doing * /

extern int ap_standalone; extern uid_t ap_user_id; extern char * ap_user_name; extern gid_t ap_group_id; #ifdef MULTIPLE_GROUPSextern gid_t group_id_list [NGROUPS_MAX]; # endifextern int ap_max_requests_per_child; extern int ap_threads_per_child; extern int ap_excess_requests_per_child; extern struct in_addr ap_bind_address; extern listen_rec * ap_listeners; extern int ap_daemons_to_start; extern int ap_daemons_min_free; extern int ap_daemons_max_free; extern int ap_daemons_limit; extern MODULE_VAR_EXPORT int ap_suexec_enabled; extern int ap_listenbacklog; extern int ap_dump_settings; extern API_VAR_EXPORT int ap_extended_status;

EXTERN CHAR * AP_PID_FNAME; Extern char * ap_scoreboard_fname; extern char * ap_lock_fname; exTern module_var_export char * ap_server_argv0;

Extern enum server_token_type ap_server_tokens;

/ * Trying to allocate these in the config pool gets us into some * nasty * * chicken-and-egg problems in http_main.c --- where do you stick them * when pconf gets cleared? Better to just allocate a little space * STATICALLY ... * /

EXTERN API_VAR_EXPORT CHAR AP_SERVER_ROOT [MAX_STRING_LEN]; EXTERN CHAR AP_SERVER_CONFNAME [MAX_STRING_LEN];

/ * for -c, -c and -d switches * / extern array_header * ap_server_pre_read_config; extern array_header * ap_server_post_read_config; extern array_header * ap_server_config_defines;

/ * WE Want this to have the Least chance of being corrupted if there * is some memory corruption, so we allocate it statically. * / Extern char ap_coredump_dir [max_string_len];

#ifdef __cplusplus} #ENDIF

#ENDIF / *! Apache_http_conf_globals_h * /

转载请注明原文地址:https://www.9cbs.com/read-131502.html

New Post(0)