comparison src/core/ngx_file.h @ 493:975f62e77f02 release-0.1.21

nginx-0.1.21-RELEASE import *) Bugfix: the ngx_http_stub_status_module showed incorrect statistics if "rtsig" method was used or if several worker process ran on SMP. *) Bugfix: nginx could not be built by the icc compiler on Linux or if the zlib-1.2.x library was building from sources. *) Bugfix: nginx could not be built on NetBSD 2.0.
author Igor Sysoev <igor@sysoev.ru>
date Tue, 22 Feb 2005 14:40:13 +0000
parents c52408583801
children fc9909c369b2
comparison
equal deleted inserted replaced
492:a3fac9a5aa5b 493:975f62e77f02
53 } ngx_temp_file_t; 53 } ngx_temp_file_t;
54 54
55 55
56 ssize_t ngx_write_chain_to_temp_file(ngx_temp_file_t *tf, ngx_chain_t *chain); 56 ssize_t ngx_write_chain_to_temp_file(ngx_temp_file_t *tf, ngx_chain_t *chain);
57 ngx_int_t ngx_create_temp_file(ngx_file_t *file, ngx_path_t *path, 57 ngx_int_t ngx_create_temp_file(ngx_file_t *file, ngx_path_t *path,
58 ngx_pool_t *pool, int persistent); 58 ngx_pool_t *pool, int persistent);
59 void ngx_create_hashed_filename(ngx_file_t *file, ngx_path_t *path); 59 void ngx_create_hashed_filename(ngx_file_t *file, ngx_path_t *path);
60 ngx_int_t ngx_create_path(ngx_file_t *file, ngx_path_t *path); 60 ngx_int_t ngx_create_path(ngx_file_t *file, ngx_path_t *path);
61 ngx_int_t ngx_add_path(ngx_conf_t *cf, ngx_path_t **slot); 61 ngx_int_t ngx_add_path(ngx_conf_t *cf, ngx_path_t **slot);
62 ngx_int_t ngx_create_pathes(ngx_cycle_t *cycle, ngx_uid_t user); 62 ngx_int_t ngx_create_pathes(ngx_cycle_t *cycle, ngx_uid_t user);
63 63
64 void ngx_init_temp_number(); 64 void ngx_init_temp_number();
65 ngx_uint_t ngx_next_temp_number(ngx_uint_t collision); 65 ngx_atomic_int_t ngx_next_temp_number(ngx_uint_t collision);
66 66
67 char *ngx_conf_set_path_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); 67 char *ngx_conf_set_path_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf);
68 68
69 69
70 #define ngx_conf_merge_path_value(curr, prev, path, l1, l2, l3, clean, cf) \ 70 #define ngx_conf_merge_path_value(curr, prev, path, l1, l2, l3, clean, cf) \