comparison src/core/ngx_file.h @ 42:41ccba1aba45 NGINX_0_1_21

nginx 0.1.21 *) 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 <http://sysoev.ru>
date Tue, 22 Feb 2005 00:00:00 +0300
parents 7ca9bdc82b3f
children 4989c3d25945
comparison
equal deleted inserted replaced
41:4d8e7a81b3a0 42:41ccba1aba45
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) \