comparison src/core/ngx_file.h @ 1046:bb139aba3199

rename mode to access
author Igor Sysoev <igor@sysoev.ru>
date Thu, 18 Jan 2007 19:52:18 +0000
parents 8c3d62474df1
children 01f818c6f7de
comparison
equal deleted inserted replaced
1045:1ade5def878d 1046:bb139aba3199
47 off_t offset; 47 off_t offset;
48 ngx_path_t *path; 48 ngx_path_t *path;
49 ngx_pool_t *pool; 49 ngx_pool_t *pool;
50 char *warn; 50 char *warn;
51 51
52 ngx_uint_t mode; 52 ngx_uint_t access;
53 53
54 unsigned log_level:8; 54 unsigned log_level:8;
55 unsigned persistent:1; 55 unsigned persistent:1;
56 } ngx_temp_file_t; 56 } ngx_temp_file_t;
57 57
74 }; 74 };
75 75
76 76
77 ssize_t ngx_write_chain_to_temp_file(ngx_temp_file_t *tf, ngx_chain_t *chain); 77 ssize_t ngx_write_chain_to_temp_file(ngx_temp_file_t *tf, ngx_chain_t *chain);
78 ngx_int_t ngx_create_temp_file(ngx_file_t *file, ngx_path_t *path, 78 ngx_int_t ngx_create_temp_file(ngx_file_t *file, ngx_path_t *path,
79 ngx_pool_t *pool, ngx_uint_t persistent,ngx_uint_t mode); 79 ngx_pool_t *pool, ngx_uint_t persistent,ngx_uint_t access);
80 void ngx_create_hashed_filename(ngx_file_t *file, ngx_path_t *path); 80 void ngx_create_hashed_filename(ngx_file_t *file, ngx_path_t *path);
81 ngx_int_t ngx_create_path(ngx_file_t *file, ngx_path_t *path); 81 ngx_int_t ngx_create_path(ngx_file_t *file, ngx_path_t *path);
82 ngx_err_t ngx_create_full_path(u_char *dir, ngx_uint_t access); 82 ngx_err_t ngx_create_full_path(u_char *dir, ngx_uint_t access);
83 ngx_int_t ngx_add_path(ngx_conf_t *cf, ngx_path_t **slot); 83 ngx_int_t ngx_add_path(ngx_conf_t *cf, ngx_path_t **slot);
84 ngx_int_t ngx_create_pathes(ngx_cycle_t *cycle, ngx_uid_t user); 84 ngx_int_t ngx_create_pathes(ngx_cycle_t *cycle, ngx_uid_t user);