/httpd/modules/examples/ |
H A D | mod_example_ipc.c | 106 static int exipc_pre_config(apr_pool_t *pconf, apr_pool_t *plog, argument 109 ap_mutex_register(pconf, exipc_mutex_type, NULL, APR_LOCK_DEFAULT, 0); 118 static int exipc_post_config(apr_pool_t *pconf, apr_pool_t *plog, argument 142 rs = apr_temp_dir_get(&tempdir, pconf); 155 shmfilename = apr_psprintf(pconf, "%s/httpd_shm.%ld", tempdir, 160 (const char *) shmfilename, pconf); 175 s, pconf, 0); 185 apr_pool_cleanup_register(pconf, NULL, shm_cleanup_wrapper,
|
H A D | mod_example_hooks.c | 593 x_cfg *pconf = (x_cfg *) parent_conf; local 608 merged_config->congenital = (pconf->congenital | pconf->local); 615 (pconf->cmode == nconf->cmode) ? pconf->cmode : CONFIG_MODE_COMBO; 737 static int x_pre_config(apr_pool_t *pconf, apr_pool_t *plog, argument 759 static int x_check_config(apr_pool_t *pconf, apr_pool_t *plog, argument 777 static void x_test_config(apr_pool_t *pconf, server_rec *s) argument 781 apr_file_open_stderr(&out, pconf); 785 trace_startup(pconf, 796 x_open_logs(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp, server_rec *s) argument 816 x_post_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp, server_rec *s) argument [all...] |
/httpd/server/ |
H A D | main.c | 342 apr_pool_create(&process->pconf, process->pool); 343 apr_pool_tag(process->pconf, "pconf"); 469 apr_pool_t *pconf; local 484 pconf = process->pconf; 634 apr_pool_create(&ptemp, pconf); 651 apr_pool_cleanup_register(pconf, &ap_server_conf, ap_pool_cleanup_set_null, 656 if (ap_run_pre_config(pconf, plog, ptemp) != OK) { 663 process->pconf, ptem [all...] |
H A D | mpm_unix.c | 619 /* create a temporary pool for the socket. pconf stays around too long */ 768 int ap_signal_server(int *exit_status, apr_pool_t *pconf) argument 777 rv = ap_read_pid(pconf, ap_pid_fname, &otherpid); 792 status = apr_psprintf(pconf, 797 status = apr_psprintf(pconf, 911 static apr_pool_t *pconf; variable 959 apr_filepath_set(ap_coredump_dir, pconf); 1059 pconf = in_pconf;
|
H A D | config.c | 90 (apr_pool_t *pconf, apr_pool_t *plog, 92 (pconf, plog, ptemp), OK, DECLINED) 95 (apr_pool_t *pconf, apr_pool_t *plog, 97 (pconf, plog, ptemp, s), OK, DECLINED) 100 (apr_pool_t *pconf, server_rec *s), 101 (pconf, s)) 104 (apr_pool_t *pconf, apr_pool_t *plog, 106 (pconf, plog, ptemp, s), OK, DECLINED) 143 AP_DECLARE(int) ap_run_post_config(apr_pool_t *pconf, 156 pHook[n].pFunc (pconf, plo 1069 ap_set_config_vectors(server_rec *server, ap_conf_vector_t *section_vector, const char *section, module *mod, apr_pool_t *pconf) argument 2366 conf_vector_length_pre_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp) argument [all...] |
H A D | scoreboard.c | 202 static apr_status_t open_scoreboard(apr_pool_t *pconf) argument 223 fname = ap_runtime_dir_relative(pconf, ap_scoreboard_fname); 245 fname = ap_runtime_dir_relative(pconf, ap_scoreboard_fname);
|
H A D | util_mutex.c | 141 * pconf is the pool passed to ap_mutex_register() 253 AP_DECLARE(apr_status_t) ap_mutex_register(apr_pool_t *pconf, 259 mutex_cfg_t *mxcfg = apr_pcalloc(pconf, sizeof *mxcfg); 265 ap_mutex_init(pconf); /* in case this mod's pre-config ran before core's */
|
/httpd/server/mpm/mpmt_os2/ |
H A D | mpmt_os2.c | 72 static apr_pool_t *pconf = NULL; /* Pool for config stuff */ variable 107 void ap_mpm_child_main(apr_pool_t *pconf); 116 pconf = _pconf; 121 listener_shm_name = apr_psprintf(pconf, "/sharemem/httpd/parent_info.%d", getppid()); 124 ap_scoreboard_fname = apr_psprintf(pconf, "/sharemem/httpd/scoreboard.%d", is_parent_process ? getpid() : getppid()); 145 apr_os_sock_put(&lr->sd, &parent_info->listeners[num_listeners].listen_fd, pconf); 153 ap_mpm_child_main(pconf); 169 ap_log_pid(pconf, ap_pid_fname); 176 ap_remove_pid(pconf, ap_pid_fname); 214 listener_shm_name = apr_psprintf(pconf, "/shareme 464 mpmt_os2_pre_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp) argument [all...] |
/httpd/modules/experimental/ |
H A D | mod_noloris.c | 162 static int noloris_post(apr_pool_t *pconf, apr_pool_t *ptmp, apr_pool_t *plog, argument 169 rv = apr_shm_create(&shm, shm_size, NULL, pconf); 178 static int noloris_pre(apr_pool_t *pconf, apr_pool_t *ptmp, apr_pool_t *plog) argument 184 trusted = apr_hash_make(pconf);
|
/httpd/modules/aaa/ |
H A D | mod_authn_socache.c | 69 static int authn_cache_precfg(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptmp) argument 71 apr_status_t rv = ap_mutex_register(pconf, authn_cache_id, 84 static int authn_cache_post_config(apr_pool_t *pconf, apr_pool_t *plog, argument 107 ptmp, pconf); 117 authn_cache_id, NULL, s, pconf, 0); 123 apr_pool_cleanup_register(pconf, NULL, remove_lock, apr_pool_cleanup_null); 126 &authn_cache_hints, s, pconf); 132 apr_pool_cleanup_register(pconf, (void*)s, destroy_cache, apr_pool_cleanup_null);
|
/httpd/server/mpm/prefork/ |
H A D | prefork.c | 153 static apr_pool_t *pconf; /* Pool for config stuff */ variable 180 buf = ap_append_pid(pconf, dir, "gprof."); 182 use_dir = ap_server_root_relative(pconf, buf ? buf : dir); 186 APR_WREAD | APR_WEXECUTE, pconf); 193 use_dir = ap_runtime_dir_relative(pconf, ""); 411 ap_fatal_signal_setup(ap_server_conf, pconf); 527 apr_pool_create_ex(&pchild, pconf, NULL, allocator); 973 ap_log_pid(pconf, ap_pid_fname); 1055 ap_wait_or_timeout(&exitwhy, &status, &pid, pconf, ap_server_conf); 1140 perform_idle_server_maintenance(pconf); [all...] |
/httpd/include/ |
H A D | util_mutex.h | 142 * @param pconf The pconf pool 156 AP_DECLARE(apr_status_t) ap_mutex_register(apr_pool_t *pconf,
|
H A D | ap_mpm.h | 87 * @param pconf the configuration pool, reset before the config file is read 93 AP_DECLARE_HOOK(int, mpm, (apr_pool_t *pconf, apr_pool_t *plog, server_rec *server_conf))
|
H A D | http_config.h | 867 * @param conf_pool The pconf pool 1221 * @param pconf A pool for all configuration allocations. 1227 module *mod, apr_pool_t *pconf); 1241 * @param pconf The config pool 1247 AP_DECLARE_HOOK(int,pre_config,(apr_pool_t *pconf,apr_pool_t *plog, 1252 * @param pconf The config pool 1259 AP_DECLARE_HOOK(int,check_config,(apr_pool_t *pconf, apr_pool_t *plog, 1265 * @param pconf The config pool 1272 AP_DECLARE_HOOK(void,test_config,(apr_pool_t *pconf, server_rec *s)) 1276 * @param pconf Th [all...] |
/httpd/server/mpm/winnt/ |
H A D | mpm_winnt.h | 95 void child_main(apr_pool_t *pconf, DWORD parent_pid);
|
H A D | mpm_winnt.c | 96 apr_pool_t *pconf; variable 762 rv = create_process(pconf, &event_handles[CHILD_HANDLE], 1019 pconf = process->pconf; 1107 if ((rv = ap_os_proc_filepath(&binpath, process->pconf)) 1128 * because pconf will be destroyed after the 1354 pconf = pconf_; 1382 apr_pool_t *pproc = apr_pool_parent_get(pconf); 1402 static int winnt_check_config(apr_pool_t *pconf, apr_pool_t *plog, argument 1496 static int winnt_post_config(apr_pool_t *pconf, apr_pool_ argument [all...] |
/httpd/modules/ssl/ |
H A D | mod_ssl.c | 346 static int ssl_hook_pre_config(apr_pool_t *pconf, argument 371 apr_pool_cleanup_register(pconf, NULL, ssl_cleanup_pre_config, 375 ssl_var_log_config_register(pconf); 378 ssl_scache_status_register(pconf); 381 ap_mutex_register(pconf, SSL_CACHE_MUTEX_TYPE, NULL, APR_LOCK_DEFAULT, 0); 383 ap_mutex_register(pconf, SSL_STAPLING_MUTEX_TYPE, NULL, APR_LOCK_DEFAULT, 0);
|
H A D | mod_ssl_ct.c | 969 * up when pconf gets cleaned up 1118 static int daemon_thread_start(apr_pool_t *pconf, server_rec *s_main) argument 1122 apr_pool_create(&pdaemon, pconf); 1124 pconf); 1132 apr_pool_cleanup_register(pconf, daemon_thread, wait_for_thread, 1217 static int ssl_ct_post_config(apr_pool_t *pconf, apr_pool_t *plog, argument 1228 root_pool = pconf; 1252 SSL_CT_MUTEX_TYPE, NULL, s_main, pconf, 0); 1259 apr_pool_cleanup_register(pconf, (void *)s_main, ssl_ct_mutex_remove, 1265 apr_pool_create(&sconf->db_log_config_pool, pconf); 1360 ssl_ct_check_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp, server_rec *s_main) argument 2450 ssl_ct_pre_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp) argument [all...] |
/httpd/modules/core/ |
H A D | mod_watchdog.c | 395 static int wd_pre_config_hook(apr_pool_t *pconf, apr_pool_t *plog, argument 403 AP_WATCHDOG_SINGLETON, 0, 1, pconf)) != APR_SUCCESS) { 407 AP_WATCHDOG_DEFAULT, 0, 0, pconf)) != APR_SUCCESS) { 415 AP_WATCHDOG_DEFAULT, 1, 0, pconf)) != APR_SUCCESS) { 420 if ((rv = ap_mutex_register(pconf, wd_proc_mutex_type, NULL, 434 static int wd_post_config_hook(apr_pool_t *pconf, apr_pool_t *plog, argument 454 if ((wl = ap_list_provider_names(pconf, AP_WATCHDOG_PGROUP, 494 if ((wl = ap_list_provider_names(pconf, AP_WATCHDOG_PGROUP,
|
/httpd/modules/proxy/examples/ |
H A D | mod_lbmethod_rr.c | 59 ctx = apr_pcalloc(r->server->process->pconf, sizeof(rr_data));
|
/httpd/server/mpm/motorz/ |
H A D | motorz.c | 43 static apr_pool_t *pconf; /* Pool for config stuff */ variable 744 ap_fatal_signal_setup(ap_server_conf, pconf); 858 apr_pool_create_ex(&pchild, pconf, NULL, allocator); 1194 ap_log_pid(pconf, ap_pid_fname); 1270 ap_wait_or_timeout(&exitwhy, &status, &pid, pconf, ap_server_conf); 1349 perform_idle_server_maintenance(mz, pconf); 1365 ap_remove_pid(pconf, ap_pid_fname); 1401 ap_remove_pid(pconf, ap_pid_fname); 1509 pconf = p; 1531 if ((rv = ap_duplicate_listeners(pconf, ap_server_con [all...] |
/httpd/server/mpm/worker/ |
H A D | worker.c | 228 static apr_pool_t *pconf; /* Pool for config stuff */ variable 529 ap_fatal_signal_setup(ap_server_conf, pconf); 843 apr_pool_create_ex(&ptrans, pconf, NULL, allocator); 1241 apr_pool_create(&pchild, pconf); 1698 ap_wait_or_timeout(&exitwhy, &status, &pid, pconf, ap_server_conf); 1813 ap_log_pid(pconf, ap_pid_fname); 1895 ap_remove_pid(pconf, ap_pid_fname); 1919 ap_remove_pid(pconf, ap_pid_fname); 2024 pconf = p; 2046 if ((rv = ap_duplicate_listeners(pconf, ap_server_con 2108 worker_pre_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp) argument [all...] |
/httpd/server/mpm/event/ |
H A D | event.c | 421 static apr_pool_t *pconf; /* Pool for config stuff */ variable 761 ap_fatal_signal_setup(ap_server_conf, pconf); 1982 apr_pool_create_ex(&ptrans, pconf, NULL, allocator); 2515 apr_pool_create(&pchild, pconf); 2959 ap_wait_or_timeout(&exitwhy, &status, &pid, pconf, ap_server_conf); 3076 ap_log_pid(pconf, ap_pid_fname); 3153 ap_remove_pid(pconf, ap_pid_fname); 3176 ap_remove_pid(pconf, ap_pid_fname); 3282 pconf = p; 3304 if ((rv = ap_duplicate_listeners(pconf, ap_server_con 3358 event_pre_config(apr_pool_t * pconf, apr_pool_t * plog, apr_pool_t * ptemp) argument 3439 event_post_config(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp, server_rec *s) argument [all...] |
/httpd/server/mpm/simple/ |
H A D | simple_api.c | 30 static int simple_run(apr_pool_t * pconf, apr_pool_t * plog, server_rec * s) argument 125 simple_pre_config(apr_pool_t * pconf, apr_pool_t * plog, apr_pool_t * ptemp) argument
|
/httpd/modules/arch/netware/ |
H A D | mod_netware.c | 171 netware_pre_config(apr_pool_t *pconf, apr_pool_t *plog, argument
|