view src/http/ngx_http_output_filter.h @ 8:708f8bb772ec

nginx-0.0.1-2002-09-02-18:48:24 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 02 Sep 2002 14:48:24 +0000
parents src/http/ngx_http_filter.h@c5f071d376e5
children 6f58641241bb
line wrap: on
line source

#ifndef _NGX_HTTP_OUTPUT_FILTER_H_INCLUDED_
#define _NGX_HTTP_OUTPUT_FILTER_H_INCLUDED_


#include <ngx_core.h>

#define NGX_HTTP_FILTER_NEED_IN_MEMORY  1
#define NGX_HTTP_FILTER_NEED_TEMP       2

typedef struct {
    int         (*next_filter)(ngx_http_request_t *r, ngx_chain_t *ch);
    ngx_hunk_t   *hunk;
    ngx_chain_t  *in;
    ngx_chain_t   out;
    size_t        hunk_size;
    unsigned      last;
} ngx_http_output_filter_ctx_t;


#endif /* _NGX_HTTP_OUTPUT_FILTER_H_INCLUDED_ */