comparison src/http/ngx_http.h @ 2592:3a8a53c0c42f

a prelimiary proxy cache support
author Igor Sysoev <igor@sysoev.ru>
date Mon, 23 Mar 2009 13:14:51 +0000
parents 859f6675a553
children 3daf68f2efe3
comparison
equal deleted inserted replaced
2591:7162ac8d564f 2592:3a8a53c0c42f
8 #define _NGX_HTTP_H_INCLUDED_ 8 #define _NGX_HTTP_H_INCLUDED_
9 9
10 10
11 #include <ngx_config.h> 11 #include <ngx_config.h>
12 #include <ngx_core.h> 12 #include <ngx_core.h>
13 #include <ngx_garbage_collector.h>
14 13
15 14
16 typedef struct ngx_http_request_s ngx_http_request_t; 15 typedef struct ngx_http_request_s ngx_http_request_t;
17 typedef struct ngx_http_upstream_s ngx_http_upstream_t; 16 typedef struct ngx_http_upstream_s ngx_http_upstream_t;
18 typedef struct ngx_http_log_ctx_s ngx_http_log_ctx_t; 17 typedef struct ngx_http_cache_s ngx_http_cache_t;
18 typedef struct ngx_http_file_cache_s ngx_http_file_cache_t;
19 typedef struct ngx_http_log_ctx_s ngx_http_log_ctx_t;
19 20
20 typedef ngx_int_t (*ngx_http_header_handler_pt)(ngx_http_request_t *r, 21 typedef ngx_int_t (*ngx_http_header_handler_pt)(ngx_http_request_t *r,
21 ngx_table_elt_t *h, ngx_uint_t offset); 22 ngx_table_elt_t *h, ngx_uint_t offset);
22 typedef u_char *(*ngx_http_log_handler_pt)(ngx_http_request_t *r, 23 typedef u_char *(*ngx_http_log_handler_pt)(ngx_http_request_t *r,
23 ngx_http_request_t *sr, u_char *buf, size_t len); 24 ngx_http_request_t *sr, u_char *buf, size_t len);
24 25
25
26 #if (NGX_HTTP_CACHE)
27 #include <ngx_http_cache.h>
28 #endif
29 /* STUB */
30 #include <ngx_http_cache.h>
31 26
32 #include <ngx_http_variables.h> 27 #include <ngx_http_variables.h>
33 #include <ngx_http_request.h> 28 #include <ngx_http_request.h>
34 #include <ngx_http_upstream.h> 29 #include <ngx_http_upstream.h>
35 #include <ngx_http_upstream_round_robin.h> 30 #include <ngx_http_upstream_round_robin.h>
36 #include <ngx_http_config.h> 31 #include <ngx_http_config.h>
37 #include <ngx_http_busy_lock.h> 32 #include <ngx_http_busy_lock.h>
38 #include <ngx_http_script.h> 33 #include <ngx_http_script.h>
39 #include <ngx_http_core_module.h> 34 #include <ngx_http_core_module.h>
40 35
36 #if (NGX_HTTP_CACHE)
37 #include <ngx_http_cache.h>
38 #endif
41 #if (NGX_HTTP_SSI) 39 #if (NGX_HTTP_SSI)
42 #include <ngx_http_ssi_filter_module.h> 40 #include <ngx_http_ssi_filter_module.h>
43 #endif 41 #endif
44 #if (NGX_HTTP_SSL) 42 #if (NGX_HTTP_SSL)
45 #include <ngx_http_ssl_module.h> 43 #include <ngx_http_ssl_module.h>