comparison src/core/ngx_garbage_collector.h @ 190:02a715e85df1

nginx-0.0.1-2003-11-19-00:34:08 import
author Igor Sysoev <igor@sysoev.ru>
date Tue, 18 Nov 2003 21:34:08 +0000
parents
children 0b67be7d4489
comparison
equal deleted inserted replaced
189:c966c09be66b 190:02a715e85df1
1 #ifndef _NGX_GARBAGE_COLLECTOR_H_INCLUDED_
2 #define _NGX_GARBAGE_COLLECTOR_H_INCLUDED_
3
4
5 typedef struct ngx_gc_s ngx_gc_t;
6
7 typedef int (*ngx_gc_handler_pt) (ngx_gc_t *ctx, ngx_str_t *name,
8 ngx_dir_t *dir);
9
10
11 struct ngx_gc_s {
12 ngx_path_t *path;
13 u_int deleted;
14 off_t freed;
15 ngx_gc_handler_pt handler;
16 ngx_log_t *log;
17 };
18
19
20 int ngx_garbage_collector_temp_handler(ngx_gc_t *ctx, ngx_str_t *name,
21 ngx_dir_t *dir);
22
23
24 #endif /* _NGX_GARBAGE_COLLECTOR_H_INCLUDED_ */