diff options
Diffstat (limited to '')
| -rw-r--r-- | src/http/ngx_http_config.h | 2 |
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); |
