#include <ngx_config.h>
#include <ngx_core.h>
#include <ngx_http.h>
static ngx_uint_t ngx_http_test_if_unmodified(ngx_http_request_t *r);
static ngx_uint_t ngx_http_test_if_modified(ngx_http_request_t *r);
static ngx_uint_t ngx_http_test_if_match(ngx_http_request_t *r,
ngx_table_elt_t *header, ngx_uint_t weak);
static ngx_int_t ngx_http_not_modified_filter_init(ngx_conf_t *cf);
static ngx_http_module_t ngx_http_not_modified_filter_module_ctx = …;
ngx_module_t ngx_http_not_modified_filter_module = …;
static ngx_http_output_header_filter_pt ngx_http_next_header_filter;
static ngx_int_t
ngx_http_not_modified_header_filter(ngx_http_request_t *r)
{ … }
static ngx_uint_t
ngx_http_test_if_unmodified(ngx_http_request_t *r)
{ … }
static ngx_uint_t
ngx_http_test_if_modified(ngx_http_request_t *r)
{ … }
static ngx_uint_t
ngx_http_test_if_match(ngx_http_request_t *r, ngx_table_elt_t *header,
ngx_uint_t weak)
{ … }
static ngx_int_t
ngx_http_not_modified_filter_init(ngx_conf_t *cf)
{ … }