aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_config.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-11-09 20:03:38 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-11-09 20:03:38 +0000
commit74e95c224ad84c6b84b5a834f49c014a441916b5 (patch)
treefea6b4e7b2706f089e462d201e90ec95f5a98fa2 /src/http/ngx_http_config.h
parente8732b06b94ea5f8a25fa3e71cece7d93f5ac0b8 (diff)
downloadnginx-74e95c224ad84c6b84b5a834f49c014a441916b5.tar.gz
nginx-74e95c224ad84c6b84b5a834f49c014a441916b5.zip
nginx-0.0.1-2003-11-09-23:03:38 import; separate building
Diffstat (limited to 'src/http/ngx_http_config.h')
-rw-r--r--src/http/ngx_http_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/http/ngx_http_config.h b/src/http/ngx_http_config.h
index 9d200c448..d12dfca94 100644
--- a/src/http/ngx_http_config.h
+++ b/src/http/ngx_http_config.h
@@ -47,6 +47,8 @@ typedef struct {
#define ngx_http_get_module_srv_conf(r, module) r->srv_conf[module.ctx_index]
#define ngx_http_get_module_loc_conf(r, module) r->loc_conf[module.ctx_index]
+#define ngx_http_conf_module_main_conf(cf, module) \
+ ((ngx_http_conf_ctx_t *) cf->ctx)->main_conf[module.ctx_index]
extern int (*ngx_http_top_header_filter) (ngx_http_request_t *r);