comparison src/core/ngx_file.h @ 1748:91d381e4e691

ngx_create_hashed_filename() does not need ngx_file_t
author Igor Sysoev <igor@sysoev.ru>
date Mon, 17 Dec 2007 21:29:34 +0000
parents 8c4532a48b0a
children cb9d4278b476
comparison
equal deleted inserted replaced
1747:442a791354d8 1748:91d381e4e691
82 82
83 ssize_t ngx_write_chain_to_temp_file(ngx_temp_file_t *tf, ngx_chain_t *chain); 83 ssize_t ngx_write_chain_to_temp_file(ngx_temp_file_t *tf, ngx_chain_t *chain);
84 ngx_int_t ngx_create_temp_file(ngx_file_t *file, ngx_path_t *path, 84 ngx_int_t ngx_create_temp_file(ngx_file_t *file, ngx_path_t *path,
85 ngx_pool_t *pool, ngx_uint_t persistent, ngx_uint_t clean, 85 ngx_pool_t *pool, ngx_uint_t persistent, ngx_uint_t clean,
86 ngx_uint_t access); 86 ngx_uint_t access);
87 void ngx_create_hashed_filename(ngx_file_t *file, ngx_path_t *path); 87 void ngx_create_hashed_filename(ngx_path_t *path, u_char *file, size_t len);
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, 92 ngx_int_t ngx_create_path_and_rename_file(ngx_str_t *src, ngx_str_t *to,