* It's mainly important for the DSO facility
* (see also mod_so).
*/
- void *(*pre_config) (ap_context_t *p, ap_context_t *plog, ap_context_t *ptemp, server_rec *s);
+ void (*pre_config) (ap_context_t *p, ap_context_t *plog, ap_context_t *ptemp);
void *(*create_dir_config) (ap_context_t *p, char *dir);
void *(*merge_dir_config) (ap_context_t *p, void *base_conf, void *new_conf);
void *(*create_server_config) (ap_context_t *p, server_rec *s);
(*m->create_dir_config)(p, NULL));
}
-void run_pre_config(ap_context_t *p, ap_context_t *plog,
- ap_context_t *ptemp, server_rec *s)
+void run_pre_config(ap_context_t *p, ap_context_t *plog, ap_context_t *ptemp)
{
module *m;
for (m = top_module; m; m = m->next)
if (m->pre_config)
- (*m->pre_config) (p, plog, ptemp, s);
+ (*m->pre_config) (p, plog, ptemp);
init_handlers(p);
}
for example, to settle down. */
ap_server_root = def_server_root;
- run_pre_config(pconf, plog, ptemp, server_conf);
+ run_pre_config(pconf, plog, ptemp);
server_conf = ap_read_config(process, ptemp, confname);
if (configtestonly) {
ap_log_error(APLOG_MARK, APLOG_STARTUP | APLOG_NOERRNO, 0, NULL, "Syntax OK\n");
}
ap_create_context(&ptemp, pconf);
ap_server_root = def_server_root;
- run_pre_config(pconf, plog, ptemp, server_conf);
+ run_pre_config(pconf, plog, ptemp);
server_conf = ap_read_config(process, ptemp, confname);
ap_clear_pool(plog);
ap_run_open_logs(pconf, plog, ptemp, server_conf);