diff options
author | Igor Sysoev <igor@sysoev.ru> | 2003-11-19 00:34:08 +0300 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2003-11-19 00:34:08 +0300 |
commit | 1b138ed141c0bdb0c9944c1ae70e53682ed2d035 (patch) | |
tree | c5b4cabecced530570f4a2d6a93cc7d5fc8e044e /src/http/ngx_http_cache.h | |
parent | 222a2adf40eb25ff613c251f15032f1e39d7f609 (diff) |
nginx-0.0.1-2003-11-19-00:34:08 import
Diffstat (limited to 'src/http/ngx_http_cache.h')
-rw-r--r-- | src/http/ngx_http_cache.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/http/ngx_http_cache.h b/src/http/ngx_http_cache.h index 67ca22398..70a792842 100644 --- a/src/http/ngx_http_cache.h +++ b/src/http/ngx_http_cache.h @@ -43,6 +43,7 @@ typedef struct { off_t length; ssize_t header_size; size_t file_start; + ngx_log_t *log; } ngx_http_cache_ctx_t; @@ -52,8 +53,9 @@ typedef struct { 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_request_t *r, ngx_http_cache_ctx_t *ctx, - ngx_file_uniq_t uniq); +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, + ngx_dir_t *dir); int ngx_http_cache_update_file(ngx_http_request_t *r,ngx_http_cache_ctx_t *ctx, ngx_str_t *temp_file); |