comparison src/core/ngx_file.h @ 186:54aabf2b0bc6 NGINX_0_3_40

nginx 0.3.40 *) Feature: the ngx_http_dav_module supports the MKCOL method. *) Feature: the "create_full_put_path" directive. *) Feature: the "$limit_rate" variable.
author Igor Sysoev <http://sysoev.ru>
date Wed, 19 Apr 2006 00:00:00 +0400
parents 13710a1813ad
children 1bf60f8c5c9e
comparison
equal deleted inserted replaced
185:a9c5dc369ffe 186:54aabf2b0bc6
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 mode;
53 53
54 unsigned log_level:8;
54 unsigned persistent:1; 55 unsigned persistent:1;
55 } ngx_temp_file_t; 56 } ngx_temp_file_t;
56 57
57 58
58 ssize_t ngx_write_chain_to_temp_file(ngx_temp_file_t *tf, ngx_chain_t *chain); 59 ssize_t ngx_write_chain_to_temp_file(ngx_temp_file_t *tf, ngx_chain_t *chain);
59 ngx_int_t ngx_create_temp_file(ngx_file_t *file, ngx_path_t *path, 60 ngx_int_t ngx_create_temp_file(ngx_file_t *file, ngx_path_t *path,
60 ngx_pool_t *pool, ngx_uint_t persistent,ngx_uint_t mode); 61 ngx_pool_t *pool, ngx_uint_t persistent,ngx_uint_t mode);
61 void ngx_create_hashed_filename(ngx_file_t *file, ngx_path_t *path); 62 void ngx_create_hashed_filename(ngx_file_t *file, ngx_path_t *path);
62 ngx_int_t ngx_create_path(ngx_file_t *file, ngx_path_t *path); 63 ngx_int_t ngx_create_path(ngx_file_t *file, ngx_path_t *path);
64 ngx_err_t ngx_create_full_path(u_char *dir);
63 ngx_int_t ngx_add_path(ngx_conf_t *cf, ngx_path_t **slot); 65 ngx_int_t ngx_add_path(ngx_conf_t *cf, ngx_path_t **slot);
64 ngx_int_t ngx_create_pathes(ngx_cycle_t *cycle, ngx_uid_t user); 66 ngx_int_t ngx_create_pathes(ngx_cycle_t *cycle, ngx_uid_t user);
65 67
66 void ngx_init_temp_number(void); 68 void ngx_init_temp_number(void);
67 ngx_atomic_uint_t ngx_next_temp_number(ngx_uint_t collision); 69 ngx_atomic_uint_t ngx_next_temp_number(ngx_uint_t collision);