*/
AP_DECLARE(server_rec *) ap_read_config(process_rec *process, apr_pool_t *temp_pool, const char *config_name, ap_directive_t **conftree);
-/**
- * Run all post config hooks for loaded modules.
- * @param pconf The configuration pool
- * @param plog The logging pool
- * @param ptemp The temporary pool
- * @param s The list of server_rec structures
- * @deffunc void ap_post_config_hook(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp, server_rec *s)
- */
-AP_DECLARE(void) ap_post_config_hook(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp, server_rec *s);
-
/**
* Run all rewrite args hooks for loaded modules
* @param process The process currently running the server
AP_DECLARE(void) ap_process_config_tree(server_rec *s, ap_directive_t *conftree,
apr_pool_t *p, apr_pool_t *ptemp);
-
-/* For individual MPMs... */
-/**
- * Run all child init hooks
- * @param pchild The pool for child process allocations
- * @param s The list of all server_recs
- */
-void ap_child_init_hook(apr_pool_t *pchild, server_rec *s);
-
/* Module-method dispatchers, also for http_request.c */
/**
* Run the handler phase of each module until a module accepts the
(*m->rewrite_args) (process);
}
-AP_DECLARE(void) ap_post_config_hook(apr_pool_t *pconf, apr_pool_t *plog, apr_pool_t *ptemp, server_rec *s)
-{
- ap_run_post_config(pconf,plog,ptemp,s);
-}
-
-void ap_child_init_hook(apr_pool_t *pchild, server_rec *s)
-{
- /* TODO: uh this seems ugly, is there a better way? */
- /*ap_child_init_alloc(); PUT THIS BACK IN XXXXX */
-
- ap_run_child_init(pchild,s);
-}
-
/********************************************************************
* Configuration directives are restricted in terms of where they may
* appear in the main configuration files and/or .htaccess files according
}
apr_pool_clear(plog);
ap_run_open_logs(pconf, plog, ptemp, server_conf);
- ap_post_config_hook(pconf, plog, ptemp, server_conf);
+ ap_run_post_config(pconf, plog, ptemp, server_conf);
apr_pool_destroy(ptemp);
for (;;) {
apr_sort_hooks();
apr_pool_clear(plog);
ap_run_open_logs(pconf, plog, ptemp, server_conf);
- ap_post_config_hook(pconf, plog, ptemp, server_conf);
+ ap_run_post_config(pconf, plog, ptemp, server_conf);
apr_pool_destroy(ptemp);
ap_run_optional_fn_retrieve();
* a seperate pool of it's own to use.
*/
apr_pool_create(&pchild, pconf);
- ap_child_init_hook(pchild, ap_server_conf);
+ ap_run_child_init(pchild, ap_server_conf);
/* Now that we have the child pool (pchild) we can allocate
* the listenfds and creat the pollset...
clean_child_exit(APEXIT_CHILDFATAL);
}
- ap_child_init_hook(pchild, ap_server_conf);
+ ap_run_child_init(pchild, ap_server_conf);
/*done with init critical section */
clean_child_exit(APEXIT_CHILDFATAL);
}
- ap_child_init_hook(pchild, ap_server_conf);
+ ap_run_child_init(pchild, ap_server_conf);
/*done with init critical section */
clean_child_exit(APEXIT_CHILDFATAL);
}
- ap_child_init_hook(pchild, ap_server_conf);
+ ap_run_child_init(pchild, ap_server_conf);
(void) ap_update_child_status(AP_CHILD_THREAD_FROM_ID(my_child_num), SERVER_READY, (request_rec *) NULL);
/* needs to be done before we switch UIDs so we have permissions */
SAFE_ACCEPT(accept_mutex_child_init(pchild));
- ap_child_init_hook(pchild, ap_server_conf);
+ ap_run_child_init(pchild, ap_server_conf);
(void) ap_update_child_status(0, THREAD_GLOBAL(thread_num), SERVER_READY, (request_rec *) NULL);
clean_child_exit(APEXIT_CHILDFATAL);
}
- ap_child_init_hook(pchild, ap_server_conf);
+ ap_run_child_init(pchild, ap_server_conf);
/*done with init critical section */