blob: bd0423b29c6eef704263460040d9e4cdbf7964e9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#ifndef _NGX_STAT_H_INCLUDED_
#define _NGX_STAT_H_INCLUDED_
#include <windows.h>
/* INVALID_FILE_ATTRIBUTES specified but never defined at least in VC6SP2 */
#ifndef INVALID_FILE_ATTRIBUTES
#define INVALID_FILE_ATTRIBUTES 0xFFFFFFFF
#endif
typedef BY_HANDLE_FILE_INFORMATION ngx_file_info_t;
#define ngx_file_type_n "GetFileAttributes"
#define ngx_is_dir(fi) (fi.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)
#define ngx_stat_n "GetFileAttributes"
#define ngx_fstat(file, fd, sb) ngx_stat(file, sb)
#define ngx_fstat_n "GetFileAttributes"
/*
int ngx_stat(char *file, ngx_stat_t *sb);
*/
#endif /* _NGX_STAT_H_INCLUDED_ */
|