view 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
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_ */