aboutsummaryrefslogtreecommitdiff
path: root/src/core/ngx_file.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/ngx_file.h')
-rw-r--r--src/core/ngx_file.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/core/ngx_file.h b/src/core/ngx_file.h
new file mode 100644
index 000000000..0d6838686
--- /dev/null
+++ b/src/core/ngx_file.h
@@ -0,0 +1,16 @@
+#ifndef _NGX_FILE_H_INCLUDED_
+#define _NGX_FILE_H_INCLUDED_
+
+
+#include <ngx_files.h>
+#include <ngx_log.h>
+
+typedef struct ngx_file_s ngx_file_t;
+
+struct ngx_file_s {
+ ngx_fd_t fd;
+ ngx_log_t *log;
+};
+
+
+#endif _NGX_FILE_H_INCLUDED_