summaryrefslogtreecommitdiffhomepage
path: root/src/core/ngx_file.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-12-07 20:22:03 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-12-07 20:22:03 +0000
commite9af690e6168a1be972c5adcddd9e64b8e75de56 (patch)
tree89d0b94b7ae8e3d089d754cd9707f0b9dfd046df /src/core/ngx_file.h
parentac7586e9520861a78146afe387c981d6be9b4d7b (diff)
downloadnginx-e9af690e6168a1be972c5adcddd9e64b8e75de56.tar.gz
nginx-e9af690e6168a1be972c5adcddd9e64b8e75de56.tar.bz2
ngx_create_path_and_rename_file()
Diffstat (limited to 'src/core/ngx_file.h')
-rw-r--r--src/core/ngx_file.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/ngx_file.h b/src/core/ngx_file.h
index 063b0fb83..c39059d30 100644
--- a/src/core/ngx_file.h
+++ b/src/core/ngx_file.h
@@ -89,6 +89,8 @@ ngx_int_t ngx_create_path(ngx_file_t *file, ngx_path_t *path);
ngx_err_t ngx_create_full_path(u_char *dir, ngx_uint_t access);
ngx_int_t ngx_add_path(ngx_conf_t *cf, ngx_path_t **slot);
ngx_int_t ngx_create_pathes(ngx_cycle_t *cycle, ngx_uid_t user);
+ngx_int_t ngx_create_path_and_rename_file(ngx_str_t *src, ngx_str_t *to,
+ ngx_uint_t access, ngx_uint_t full_path, ngx_uint_t delete, ngx_log_t *log);
ngx_int_t ngx_walk_tree(ngx_tree_ctx_t *ctx, ngx_str_t *tree);
void ngx_init_temp_number(void);