comparison src/http/ngx_http_config.h @ 176:c0552e5ab567

nginx-0.0.1-2003-11-09-23:03:38 import; separate building
author Igor Sysoev <igor@sysoev.ru>
date Sun, 09 Nov 2003 20:03:38 +0000
parents cd54bcbaf3b5
children 4db54fdbcbe7
comparison
equal deleted inserted replaced
175:e92c2c647c57 176:c0552e5ab567
45 45
46 #define ngx_http_get_module_main_conf(r, module) r->main_conf[module.ctx_index] 46 #define ngx_http_get_module_main_conf(r, module) r->main_conf[module.ctx_index]
47 #define ngx_http_get_module_srv_conf(r, module) r->srv_conf[module.ctx_index] 47 #define ngx_http_get_module_srv_conf(r, module) r->srv_conf[module.ctx_index]
48 #define ngx_http_get_module_loc_conf(r, module) r->loc_conf[module.ctx_index] 48 #define ngx_http_get_module_loc_conf(r, module) r->loc_conf[module.ctx_index]
49 49
50 #define ngx_http_conf_module_main_conf(cf, module) \
51 ((ngx_http_conf_ctx_t *) cf->ctx)->main_conf[module.ctx_index]
50 52
51 53
52 extern int (*ngx_http_top_header_filter) (ngx_http_request_t *r); 54 extern int (*ngx_http_top_header_filter) (ngx_http_request_t *r);
53 55
54 56