comparison src/http/ngx_http_filter.h @ 4:c5f071d376e5

nginx-0.0.1-2002-08-22-19:24:03 import
author Igor Sysoev <igor@sysoev.ru>
date Thu, 22 Aug 2002 15:24:03 +0000
parents d220029ac7f3
children
comparison
equal deleted inserted replaced
3:34a521b1a148 4:c5f071d376e5
1 #ifndef _NGX_HTTP_FILTER_H_INCLUDED_ 1 #ifndef _NGX_HTTP_FILTER_H_INCLUDED_
2 #define _NGX_HTTP_FILTER_H_INCLUDED_ 2 #define _NGX_HTTP_FILTER_H_INCLUDED_
3 3
4 4
5 #define NGX_HTTP_FILTER_ERROR -1 5 #include <ngx_core.h>
6 #define NGX_HTTP_FILTER_AGAIN 0 6
7 #define NGX_HTTP_FILTER_DONE 1 7 #define NGX_HTTP_FILTER_NEED_IN_MEMORY 1
8 #define NGX_HTTP_FILTER_NEED_TEMP 2
9
10 typedef struct {
11 int (*next_filter)(ngx_http_request_t *r, ngx_chain_t *ch);
12 ngx_hunk_t *hunk;
13 ngx_chain_t *in;
14 ngx_chain_t out;
15 size_t hunk_size;
16 unsigned last;
17 } ngx_http_filter_ctx_t;
8 18
9 19
10 #endif /* _NGX_HTTP_FILTER_H_INCLUDED_ */ 20 #endif /* _NGX_HTTP_FILTER_H_INCLUDED_ */