comparison src/os/win32/ngx_files.h @ 2232:992613253d93

style fix
author Igor Sysoev <igor@sysoev.ru>
date Fri, 05 Sep 2008 14:53:17 +0000
parents be9887d15b8e
children c7c319896bb4
comparison
equal deleted inserted replaced
2231:8564129d49b6 2232:992613253d93
183 (dir)->finddata.ftLastWriteTime.dwHighDateTime << 32) \ 183 (dir)->finddata.ftLastWriteTime.dwHighDateTime << 32) \
184 | (dir)->finddata.ftLastWriteTime.dwLowDateTime) \ 184 | (dir)->finddata.ftLastWriteTime.dwLowDateTime) \
185 - 116444736000000000) / 10000000) 185 - 116444736000000000) / 10000000)
186 186
187 typedef struct { 187 typedef struct {
188 HANDLE dir; 188 HANDLE dir;
189 WIN32_FIND_DATA finddata; 189 WIN32_FIND_DATA finddata;
190 190
191 unsigned ready:1; 191 unsigned ready:1;
192 unsigned test:1; 192 unsigned test:1;
193 unsigned no_match:1; 193 unsigned no_match:1;
194 194
195 u_char *pattern; 195 u_char *pattern;
196 ngx_str_t name; 196 ngx_str_t name;
197 size_t last; 197 size_t last;
198 ngx_log_t *log; 198 ngx_log_t *log;
199 } ngx_glob_t; 199 } ngx_glob_t;
200 200
201 201
202 ngx_int_t ngx_open_glob(ngx_glob_t *gl); 202 ngx_int_t ngx_open_glob(ngx_glob_t *gl);
203 #define ngx_open_glob_n "FindFirstFile()" 203 #define ngx_open_glob_n "FindFirstFile()"