aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_file.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2003-11-18 21:34:08 +0000
committerIgor Sysoev <igor@sysoev.ru>2003-11-18 21:34:08 +0000
commit1b138ed141c0bdb0c9944c1ae70e53682ed2d035 (patch)
treec5b4cabecced530570f4a2d6a93cc7d5fc8e044e /src/core/ngx_file.h
parent222a2adf40eb25ff613c251f15032f1e39d7f609 (diff)
downloadnginx-1b138ed141c0bdb0c9944c1ae70e53682ed2d035.tar.gz
nginx-1b138ed141c0bdb0c9944c1ae70e53682ed2d035.zip
nginx-0.0.1-2003-11-19-00:34:08 import
Diffstat (limited to 'src/core/ngx_file.h')
-rw-r--r--src/core/ngx_file.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/src/core/ngx_file.h b/src/core/ngx_file.h
index 33a5250bb..b1e5fb855 100644
--- a/src/core/ngx_file.h
+++ b/src/core/ngx_file.h
@@ -5,6 +5,10 @@
#include <ngx_config.h>
#include <ngx_core.h>
+typedef struct ngx_path_s ngx_path_t;
+
+#include <ngx_garbage_collector.h>
+
struct ngx_file_s {
ngx_fd_t fd;
@@ -12,6 +16,7 @@ struct ngx_file_s {
ngx_file_info_t info;
off_t offset;
+ off_t sys_offset;
ngx_log_t *log;
@@ -20,11 +25,12 @@ struct ngx_file_s {
#define NGX_MAX_PATH_LEVEL 3
-typedef struct {
- ngx_str_t name;
- int len;
- int level[3];
-} ngx_path_t;
+struct ngx_path_s {
+ ngx_str_t name;
+ int len;
+ int level[3];
+ ngx_gc_handler_pt gc_handler;
+};
typedef struct {