Obtained from:
Submitted by:
Reviewed by:
Migrate the 'real' pre_config hook update from winnt.c to mpm_winnt.c
and correct newly required symbols for http_main.c
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85436
13f79535-47bb-0310-9956-
ffa450edef68
server_rec *main_server, server_rec **);
void ap_process_resource_config(server_rec *s, const char *fname,
ap_directive_t **conftree, ap_pool_t *p, ap_pool_t *ptemp);
-void ap_process_config_tree(server_rec *s, ap_directive_t *conftree,
- ap_pool_t *p, ap_pool_t *ptemp);
+API_EXPORT(void) ap_process_config_tree(server_rec *s, ap_directive_t *conftree,
+ ap_pool_t *p, ap_pool_t *ptemp);
/* For individual MPMs... */
ap_cfg_closefile(cfp);
}
-void ap_process_config_tree(server_rec *s, ap_directive_t *conftree,
- ap_pool_t *p, ap_pool_t *ptemp)
+API_EXPORT(void)ap_process_config_tree(server_rec *s, ap_directive_t *conftree,
+ ap_pool_t *p, ap_pool_t *ptemp)
{
const char *errmsg;
cmd_parms parms;
static void winnt_hooks(void)
{
one_process = 0;
+ ap_hook_pre_config(winnt_pre_config, NULL, NULL, AP_HOOK_MIDDLE);
ap_hook_post_config(winnt_post_config, NULL, NULL, 0);
}
MODULE_VAR_EXPORT module mpm_winnt_module = {
MPM20_MODULE_STUFF,
winnt_rewrite_args, /* hook to run before apache parses args */
- winnt_pre_config, /* hook run before configuration is read */
NULL, /* create per-directory config structure */
NULL, /* merge per-directory config structures */
NULL, /* create per-server config structure */