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.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/core/ngx_file.h b/src/core/ngx_file.h
index d0151ad5a..d07384810 100644
--- a/src/core/ngx_file.h
+++ b/src/core/ngx_file.h
@@ -4,6 +4,7 @@
#include <ngx_file.h>
#include <ngx_log.h>
+#include <ngx_alloc.h>
#include <ngx_string.h>
typedef struct ngx_file_s ngx_file_t;
@@ -21,4 +22,18 @@ struct ngx_file_s {
};
+typedef struct {
+ ngx_str_t name;
+ int len;
+ int level[3];
+} ngx_path_t;
+
+
+int ngx_create_temp_file(ngx_file_t *file, ngx_path_t *path,
+ ngx_pool_t *pool, int num, int step, int persistent);
+void ngx_create_hashed_filename(ngx_file_t *file, ngx_path_t *path);
+int ngx_create_path(ngx_file_t *file, ngx_path_t *path);
+
+
+
#endif /* _NGX_FILE_H_INCLUDED_ */