comparison src/core/ngx_file.h @ 1695:8c4532a48b0a

ngx_create_path_and_rename_file()
author Igor Sysoev <igor@sysoev.ru>
date Fri, 07 Dec 2007 20:22:03 +0000
parents e958b3cab51a
children 91d381e4e691
comparison
equal deleted inserted replaced
1694:8c696afe46b3 1695:8c4532a48b0a
87 void ngx_create_hashed_filename(ngx_file_t *file, ngx_path_t *path); 87 void ngx_create_hashed_filename(ngx_file_t *file, ngx_path_t *path);
88 ngx_int_t ngx_create_path(ngx_file_t *file, ngx_path_t *path); 88 ngx_int_t ngx_create_path(ngx_file_t *file, ngx_path_t *path);
89 ngx_err_t ngx_create_full_path(u_char *dir, ngx_uint_t access); 89 ngx_err_t ngx_create_full_path(u_char *dir, ngx_uint_t access);
90 ngx_int_t ngx_add_path(ngx_conf_t *cf, ngx_path_t **slot); 90 ngx_int_t ngx_add_path(ngx_conf_t *cf, ngx_path_t **slot);
91 ngx_int_t ngx_create_pathes(ngx_cycle_t *cycle, ngx_uid_t user); 91 ngx_int_t ngx_create_pathes(ngx_cycle_t *cycle, ngx_uid_t user);
92 ngx_int_t ngx_create_path_and_rename_file(ngx_str_t *src, ngx_str_t *to,
93 ngx_uint_t access, ngx_uint_t full_path, ngx_uint_t delete, ngx_log_t *log);
92 ngx_int_t ngx_walk_tree(ngx_tree_ctx_t *ctx, ngx_str_t *tree); 94 ngx_int_t ngx_walk_tree(ngx_tree_ctx_t *ctx, ngx_str_t *tree);
93 95
94 void ngx_init_temp_number(void); 96 void ngx_init_temp_number(void);
95 ngx_atomic_uint_t ngx_next_temp_number(ngx_uint_t collision); 97 ngx_atomic_uint_t ngx_next_temp_number(ngx_uint_t collision);
96 98