view src/http/ngx_http_filter.h @ 6:669801705ab1

nginx-0.0.1-2002-08-26-19:18:19 import
author Igor Sysoev <igor@sysoev.ru>
date Mon, 26 Aug 2002 15:18:19 +0000
parents c5f071d376e5
children
line wrap: on
line source

#ifndef _NGX_HTTP_FILTER_H_INCLUDED_
#define _NGX_HTTP_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_filter_ctx_t;


#endif /* _NGX_HTTP_FILTER_H_INCLUDED_ */