comparison src/core/ngx_file.h @ 516:7efcdb937752 NGINX_0_8_10

nginx 0.8.10 *) Bugfix: memory leaks if GeoIP City database was used. *) Bugfix: in copying temporary files to permanent storage area; the bug had appeared in 0.8.9.
author Igor Sysoev <http://sysoev.ru>
date Mon, 24 Aug 2009 00:00:00 +0400
parents 43cc6f0b77ce
children 86dad910eeb6
comparison
equal deleted inserted replaced
515:607556aed0a1 516:7efcdb937752
127 ngx_int_t ngx_ext_rename_file(ngx_str_t *src, ngx_str_t *to, 127 ngx_int_t ngx_ext_rename_file(ngx_str_t *src, ngx_str_t *to,
128 ngx_ext_rename_file_t *ext); 128 ngx_ext_rename_file_t *ext);
129 ngx_int_t ngx_copy_file(u_char *from, u_char *to, ngx_copy_file_t *cf); 129 ngx_int_t ngx_copy_file(u_char *from, u_char *to, ngx_copy_file_t *cf);
130 ngx_int_t ngx_walk_tree(ngx_tree_ctx_t *ctx, ngx_str_t *tree); 130 ngx_int_t ngx_walk_tree(ngx_tree_ctx_t *ctx, ngx_str_t *tree);
131 131
132 void ngx_init_temp_number(void);
133 ngx_atomic_uint_t ngx_next_temp_number(ngx_uint_t collision); 132 ngx_atomic_uint_t ngx_next_temp_number(ngx_uint_t collision);
134 133
135 char *ngx_conf_set_path_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); 134 char *ngx_conf_set_path_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf);
136 char *ngx_conf_merge_path_value(ngx_conf_t *cf, ngx_path_t **path, 135 char *ngx_conf_merge_path_value(ngx_conf_t *cf, ngx_path_t **path,
137 ngx_path_t *prev, ngx_path_init_t *init); 136 ngx_path_t *prev, ngx_path_init_t *init);
138 char *ngx_conf_set_access_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); 137 char *ngx_conf_set_access_slot(ngx_conf_t *cf, ngx_command_t *cmd, void *conf);
139 138
140 139
140 extern ngx_atomic_t *ngx_temp_number;
141 extern ngx_atomic_int_t ngx_random_number;
142
143
141 #endif /* _NGX_FILE_H_INCLUDED_ */ 144 #endif /* _NGX_FILE_H_INCLUDED_ */