comparison src/http/ngx_http_config.h @ 424:84c527908237

nginx-0.0.10-2004-09-14-09:45:22 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 14 Sep 2004 05:45:22 +0000
parents 6f3b20c1ac50
children da8c5707af39
comparison
equal deleted inserted replaced
423:fda5987b188d 424:84c527908237
43 #define ngx_http_get_module_srv_conf(r, module) r->srv_conf[module.ctx_index] 43 #define ngx_http_get_module_srv_conf(r, module) r->srv_conf[module.ctx_index]
44 #define ngx_http_get_module_loc_conf(r, module) r->loc_conf[module.ctx_index] 44 #define ngx_http_get_module_loc_conf(r, module) r->loc_conf[module.ctx_index]
45 45
46 /* 46 /*
47 * ngx_http_conf_get_module_srv_conf() and ngx_http_conf_get_module_loc_conf() 47 * ngx_http_conf_get_module_srv_conf() and ngx_http_conf_get_module_loc_conf()
48 * msut not be used because at the merge phase cf->ctx points to http{}'s ctx 48 * must not be used at the merge phase because cf->ctx points to http{}'s ctx
49 */ 49 */
50 50
51 #define ngx_http_conf_get_module_main_conf(cf, module) \ 51 #define ngx_http_conf_get_module_main_conf(cf, module) \
52 ((ngx_http_conf_ctx_t *) cf->ctx)->main_conf[module.ctx_index] 52 ((ngx_http_conf_ctx_t *) cf->ctx)->main_conf[module.ctx_index]
53 #define ngx_http_conf_get_module_srv_conf(cf, module) \ 53 #define ngx_http_conf_get_module_srv_conf(cf, module) \