diff src/http/ngx_http_config.h @ 356:2e3cbc1bbe3c

nginx-0.0.7-2004-06-16-19:32:11 import
author Igor Sysoev <igor@sysoev.ru>
date Wed, 16 Jun 2004 15:32:11 +0000
parents 11ff50a35d6d
children 5659d773cfa8
line wrap: on
line diff
--- 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);
 
-
-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_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_ */