Mercurial > hg > nginx
diff src/core/ngx_conf_file.h @ 113:d7f606e25b99
nginx-0.0.1-2003-07-04-19:10:33 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 04 Jul 2003 15:10:33 +0000 |
parents | a9bc21d63fe4 |
children | ac69ab96328d |
line wrap: on
line diff
--- a/src/core/ngx_conf_file.h Fri Jul 04 06:03:52 2003 +0000 +++ b/src/core/ngx_conf_file.h Fri Jul 04 15:10:33 2003 +0000 @@ -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_ */