comparison src/core/ngx_file.h @ 5958:a9138c35120d

Core: added prefix-based temporary files. Now, if the "path" parameter is NULL, ngx_create_temp_file() will use file->name as a predefined file path prefix.
author Valentin Bartenev <vbart@nginx.com>
date Fri, 26 Dec 2014 16:22:54 +0300
parents 12dd27b74117
children 3281de8142f5
comparison
equal deleted inserted replaced
5957:570677a06dce 5958:a9138c35120d
69 ngx_uint_t access; 69 ngx_uint_t access;
70 70
71 unsigned log_level:8; 71 unsigned log_level:8;
72 unsigned persistent:1; 72 unsigned persistent:1;
73 unsigned clean:1; 73 unsigned clean:1;
74 unsigned prefix:1;
74 } ngx_temp_file_t; 75 } ngx_temp_file_t;
75 76
76 77
77 typedef struct { 78 typedef struct {
78 ngx_uint_t access; 79 ngx_uint_t access;