From 52859f2f1309fc8452f1cf182b712ae2d72bc40c Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 23 Mar 2009 13:14:51 +0000 Subject: a prelimiary proxy cache support --- src/http/ngx_http.h | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'src/http/ngx_http.h') diff --git a/src/http/ngx_http.h b/src/http/ngx_http.h index 7699cb0a2..89de976df 100644 --- a/src/http/ngx_http.h +++ b/src/http/ngx_http.h @@ -10,12 +10,13 @@ #include #include -#include -typedef struct ngx_http_request_s ngx_http_request_t; -typedef struct ngx_http_upstream_s ngx_http_upstream_t; -typedef struct ngx_http_log_ctx_s ngx_http_log_ctx_t; +typedef struct ngx_http_request_s ngx_http_request_t; +typedef struct ngx_http_upstream_s ngx_http_upstream_t; +typedef struct ngx_http_cache_s ngx_http_cache_t; +typedef struct ngx_http_file_cache_s ngx_http_file_cache_t; +typedef struct ngx_http_log_ctx_s ngx_http_log_ctx_t; typedef ngx_int_t (*ngx_http_header_handler_pt)(ngx_http_request_t *r, ngx_table_elt_t *h, ngx_uint_t offset); @@ -23,12 +24,6 @@ typedef u_char *(*ngx_http_log_handler_pt)(ngx_http_request_t *r, ngx_http_request_t *sr, u_char *buf, size_t len); -#if (NGX_HTTP_CACHE) -#include -#endif -/* STUB */ -#include - #include #include #include @@ -38,6 +33,9 @@ typedef u_char *(*ngx_http_log_handler_pt)(ngx_http_request_t *r, #include #include +#if (NGX_HTTP_CACHE) +#include +#endif #if (NGX_HTTP_SSI) #include #endif -- cgit