nginx-0.0.1-2003-07-04-19:10:33 import
diff --git a/src/core/ngx_conf_file.h b/src/core/ngx_conf_file.h
index 932f5bf..7e0010d 100644
--- a/src/core/ngx_conf_file.h
+++ b/src/core/ngx_conf_file.h
@@ -79,9 +79,8 @@
void *ctx;
ngx_command_t *commands;
int type;
- int (*init_module)(ngx_cycle_t *cycle, ngx_log_t *log);
- int (*commit_module)(ngx_cycle_t *cycle, ngx_log_t *log);
- int (*rollback_module)(ngx_cycle_t *cycle, ngx_log_t *log);
+ int (*init_module)(ngx_cycle_t *cycle);
+ int (*init_child)(ngx_cycle_t *cycle);
};
@@ -114,7 +113,7 @@
};
-#define ngx_get_conf(module) ngx_conf_ctx[module.index]
+#define ngx_get_conf(conf_ctx, module) conf_ctx[module.index]
#define ngx_conf_init_value(conf, default) \
@@ -179,7 +178,7 @@
extern ngx_module_t *ngx_modules[];
-extern void ****ngx_conf_ctx;
+extern ngx_cycle_t ngx_cycle;
#endif /* _NGX_HTTP_CONF_FILE_H_INCLUDED_ */