| #ifndef _NGX_HTTP_CACHE_H_INCLUDED_ |
| #define _NGX_HTTP_CACHE_H_INCLUDED_ |
| } ngx_http_cache_header_t; |
| void *data; /* mmap, memory */ |
| time_t updated; /* no needed with kqueue */ |
| } ngx_http_cache_entry_t; |
| #define NGX_HTTP_CACHE_STALE 1 |
| #define NGX_HTTP_CACHE_AGED 2 |
| #define NGX_HTTP_CACHE_THE_SAME 3 |
| int ngx_http_cache_get_file(ngx_http_request_t *r, ngx_http_cache_ctx_t *ctx); |
| int ngx_http_cache_open_file(ngx_http_cache_ctx_t *ctx, ngx_file_uniq_t uniq); |
| int ngx_garbage_collector_http_cache_handler(ngx_gc_t *gc, ngx_str_t *name, |
| int ngx_http_cache_update_file(ngx_http_request_t *r,ngx_http_cache_ctx_t *ctx, |
| #endif /* _NGX_HTTP_CACHE_H_INCLUDED_ */ |