Mercurial > hg > nginx
view src/http/ngx_http_output_filter.h @ 26:53cb81681040
nginx-0.0.1-2002-12-15-09:25:09 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 15 Dec 2002 06:25:09 +0000 |
parents | 4f3879d9b6f6 |
children | d5d4f3bba6f0 |
line wrap: on
line source
#ifndef _NGX_HTTP_OUTPUT_FILTER_H_INCLUDED_ #define _NGX_HTTP_OUTPUT_FILTER_H_INCLUDED_ #include <ngx_hunk.h> #include <ngx_http.h> #define NGX_HTTP_FILTER_NEED_IN_MEMORY 1 #define NGX_HTTP_FILTER_NEED_TEMP 2 typedef struct { size_t hunk_size; } ngx_http_output_filter_conf_t; typedef struct { #if 0 int (*next_filter)(ngx_http_request_t *r, ngx_chain_t *ch); #endif ngx_hunk_t *hunk; ngx_chain_t *in; ngx_chain_t out; unsigned last; } ngx_http_output_filter_ctx_t; int ngx_http_output_filter(ngx_http_request_t *r, ngx_hunk_t *hunk); extern ngx_http_module_t ngx_http_output_filter_module; #endif /* _NGX_HTTP_OUTPUT_FILTER_H_INCLUDED_ */