Mercurial > hg > nginx
comparison src/http/ngx_http_write_filter.h @ 9:6f58641241bb
nginx-0.0.1-2002-09-07-14:14:25 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sat, 07 Sep 2002 10:14:25 +0000 |
parents | 708f8bb772ec |
children | 4f3879d9b6f6 |
comparison
equal
deleted
inserted
replaced
8:708f8bb772ec | 9:6f58641241bb |
---|---|
1 #ifndef _NGX_HTTP_WRITE_FILTER_H_INCLUDED_ | 1 #ifndef _NGX_HTTP_WRITE_FILTER_H_INCLUDED_ |
2 #define _NGX_HTTP_WRITE_FILTER_H_INCLUDED_ | 2 #define _NGX_HTTP_WRITE_FILTER_H_INCLUDED_ |
3 | 3 |
4 | 4 |
5 #include <ngx_hunk.h> | |
6 #include <ngx_http.h> | |
7 | |
8 | |
9 typedef struct { | |
10 size_t buffer_output; | |
11 } ngx_http_write_filter_conf_t; | |
12 | |
5 typedef struct { | 13 typedef struct { |
6 ngx_chain_t *out; | 14 ngx_chain_t *out; |
7 size_t buffer_output; | |
8 } ngx_http_write_filter_ctx_t; | 15 } ngx_http_write_filter_ctx_t; |
16 | |
9 | 17 |
10 int ngx_http_write_filter(ngx_http_request_t *r, ngx_chain_t *in); | 18 int ngx_http_write_filter(ngx_http_request_t *r, ngx_chain_t *in); |
11 | 19 |
12 | 20 |
13 #endif /* _NGX_HTTP_WRITE_FILTER_H_INCLUDED_ */ | 21 #endif /* _NGX_HTTP_WRITE_FILTER_H_INCLUDED_ */ |