comparison src/http/ngx_http_filter.h @ 155:46eb23d9471d

nginx-0.0.1-2003-10-22-20:38:26 import
author Igor Sysoev <igor@sysoev.ru>
date Wed, 22 Oct 2003 16:38:26 +0000
parents eac26585476e
children af451db3fe99
comparison
equal deleted inserted replaced
154:eac26585476e 155:46eb23d9471d
5 #define NGX_HTTP_FILTER_NEED_IN_MEMORY 1 5 #define NGX_HTTP_FILTER_NEED_IN_MEMORY 1
6 #define NGX_HTTP_FILTER_SSI_NEED_IN_MEMORY 2 6 #define NGX_HTTP_FILTER_SSI_NEED_IN_MEMORY 2
7 #define NGX_HTTP_FILTER_NEED_TEMP 4 7 #define NGX_HTTP_FILTER_NEED_TEMP 4
8 8
9 9
10 int ngx_http_output_filter(ngx_http_request_t *r, ngx_chain_t *in); 10 typedef int (*ngx_http_output_header_filter_pt)(ngx_http_request_t *r);
11 int ngx_http_write_filter(ngx_http_request_t *r, ngx_chain_t *in); 11 typedef int (*ngx_http_output_body_filter_pt)
12 (ngx_http_request_t *r, ngx_chain_t *chain);
12 13
13 14
14 extern int (*ngx_http_top_header_filter) (ngx_http_request_t *r); 15 int ngx_http_output_filter(ngx_http_request_t *r, ngx_chain_t *chain);
15 extern int (*ngx_http_top_body_filter) (ngx_http_request_t *r, ngx_chain_t *ch); 16 int ngx_http_write_filter(ngx_http_request_t *r, ngx_chain_t *chain);
17
18
19 extern ngx_http_output_header_filter_pt ngx_http_top_header_filter;
20 extern ngx_http_output_body_filter_pt ngx_http_top_body_filter;
16 21
17 22
18 #endif /* _NGX_HTTP_FILTER_H_INCLUDED_ */ 23 #endif /* _NGX_HTTP_FILTER_H_INCLUDED_ */