diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-12-21 15:33:15 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-12-21 15:33:15 +0000 |
commit | ff71b948b37ceaf0be1d70328398b3b41ef6f28e (patch) | |
tree | b6731f7c38e444b86998a133c1177a185501c83c /src/core/ngx_open_file_cache.h | |
parent | 374d224672091c787f9480689295059e5f5568db (diff) | |
download | nginx-ff71b948b37ceaf0be1d70328398b3b41ef6f28e.tar.gz nginx-ff71b948b37ceaf0be1d70328398b3b41ef6f28e.zip |
use ngx_queue.h
Diffstat (limited to 'src/core/ngx_open_file_cache.h')
-rw-r--r-- | src/core/ngx_open_file_cache.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/core/ngx_open_file_cache.h b/src/core/ngx_open_file_cache.h index 272bcb535..50d910cda 100644 --- a/src/core/ngx_open_file_cache.h +++ b/src/core/ngx_open_file_cache.h @@ -36,8 +36,7 @@ typedef struct ngx_cached_open_file_s ngx_cached_open_file_t; struct ngx_cached_open_file_s { ngx_rbtree_node_t node; - ngx_cached_open_file_t *prev; - ngx_cached_open_file_t *next; + ngx_queue_t queue; u_char *name; time_t created; @@ -64,8 +63,7 @@ struct ngx_cached_open_file_s { typedef struct { ngx_rbtree_t rbtree; ngx_rbtree_node_t sentinel; - ngx_cached_open_file_t list_head; - ngx_cached_open_file_t list_tail; + ngx_queue_t expire_queue; ngx_uint_t current; ngx_uint_t max; |