diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2004-06-16 15:32:11 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2004-06-16 15:32:11 +0000 |
| commit | 2f65722941903cfb5b4819bbf32b61ed1d330749 (patch) | |
| tree | 77fb2186a9afef9acdbc77e60e43a82fc4dae122 /src/http/ngx_http_config.h | |
| parent | d09f7a1e9aa5816493e2fef93074383d95140c13 (diff) | |
| download | nginx-2f65722941903cfb5b4819bbf32b61ed1d330749.tar.gz nginx-2f65722941903cfb5b4819bbf32b61ed1d330749.tar.bz2 | |
nginx-0.0.7-2004-06-16-19:32:11 import
Diffstat (limited to 'src/http/ngx_http_config.h')
| -rw-r--r-- | src/http/ngx_http_config.h | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/src/http/ngx_http_config.h b/src/http/ngx_http_config.h index 45c2b7e68..03c634781 100644 --- a/src/http/ngx_http_config.h +++ b/src/http/ngx_http_config.h @@ -14,22 +14,16 @@ typedef struct { typedef struct { - int (*output_header_filter) (ngx_http_request_t *r); - int (*output_body_filter) (ngx_http_request_t *r, ngx_chain_t *ch); -} ngx_http_conf_filter_t; + ngx_int_t (*pre_conf)(ngx_conf_t *cf); + void *(*create_main_conf)(ngx_conf_t *cf); + char *(*init_main_conf)(ngx_conf_t *cf, void *conf); -typedef struct { - int (*pre_conf)(ngx_conf_t *cf); - - void *(*create_main_conf)(ngx_conf_t *cf); - char *(*init_main_conf)(ngx_conf_t *cf, void *conf); + void *(*create_srv_conf)(ngx_conf_t *cf); + char *(*merge_srv_conf)(ngx_conf_t *cf, void *prev, void *conf); - void *(*create_srv_conf)(ngx_conf_t *cf); - char *(*merge_srv_conf)(ngx_conf_t *cf, void *prev, void *conf); - - void *(*create_loc_conf)(ngx_conf_t *cf); - char *(*merge_loc_conf)(ngx_conf_t *cf, void *prev, void *conf); + void *(*create_loc_conf)(ngx_conf_t *cf); + char *(*merge_loc_conf)(ngx_conf_t *cf, void *prev, void *conf); } ngx_http_module_t; @@ -53,7 +47,5 @@ typedef struct { ((ngx_http_conf_ctx_t *) cf->ctx)->main_conf[module.ctx_index] -extern int (*ngx_http_top_header_filter) (ngx_http_request_t *r); - #endif /* _NGX_HTTP_CONFIG_H_INCLUDED_ */ |
