Mercurial > hg > nginx
comparison src/http/ngx_http_config.h @ 393:5659d773cfa8
nginx-0.0.7-2004-07-15-20:35:51 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 15 Jul 2004 16:35:51 +0000 |
parents | 2e3cbc1bbe3c |
children | f8f0f1834266 |
comparison
equal
deleted
inserted
replaced
392:d1222d46b3f9 | 393:5659d773cfa8 |
---|---|
41 | 41 |
42 #define ngx_http_get_module_main_conf(r, module) r->main_conf[module.ctx_index] | 42 #define ngx_http_get_module_main_conf(r, module) r->main_conf[module.ctx_index] |
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 #define ngx_http_conf_module_main_conf(cf, module) \ | 46 #define ngx_http_conf_get_module_main_conf(cf, module) \ |
47 ((ngx_http_conf_ctx_t *) cf->ctx)->main_conf[module.ctx_index] | 47 ((ngx_http_conf_ctx_t *) cf->ctx)->main_conf[module.ctx_index] |
48 #define ngx_http_conf_get_module_srv_conf(cf, module) \ | |
49 ngx_http_conf_get_module_srv_conf_could_not_be_implemented() | |
50 | |
51 #define ngx_http_cycle_get_module_main_conf(cycle, module) \ | |
52 ((ngx_http_conf_ctx_t *) \ | |
53 cycle->conf_ctx[ngx_http_module.index])->main_conf[module.ctx_index] | |
48 | 54 |
49 | 55 |
50 | 56 |
51 #endif /* _NGX_HTTP_CONFIG_H_INCLUDED_ */ | 57 #endif /* _NGX_HTTP_CONFIG_H_INCLUDED_ */ |