kodi
tools
depends
native
TexturePacker
src
Win32
dirent.h
1
/*
2
3
Declaration of POSIX directory browsing functions and types for Win32.
4
5
Author: Kevlin Henney (kevlin@acm.org, kevlin@curbralan.com)
6
History: Created March 1997. Updated June 2003.
7
8
Copyright Kevlin Henney, 1997, 2003. All rights reserved.
9
10
Permission to use, copy, modify, and distribute this software and its
11
documentation for any purpose is hereby granted without fee, provided
12
that this copyright and permissions notice appear in all copies and
13
derivatives.
14
15
This software is supplied "as is" without express or implied warranty.
16
17
But that said, if there are any problems please get in touch.
18
*/
19
20
#pragma once
21
22
#ifdef __cplusplus
23
extern
"C"
24
{
25
#endif
26
27
typedef
struct
DIR
DIR
;
28
29
#define DT_UNKNOWN 0
30
#define DT_FIFO 1
31
#define DT_CHR 2
32
#define DT_DIR 4
33
#define DT_BLK 6
34
#define DT_REG 8
35
#define DT_LNK 10
36
#define DT_SOCK 12
37
#define DT_WHT 14
38
39
struct
dirent
40
{
41
char
*d_name;
42
unsigned
char
d_type;
43
};
44
45
DIR
*opendir(
const
char
*);
46
int
closedir(
DIR
*);
47
struct
dirent
*readdir(
DIR
*);
48
void
rewinddir(
DIR
*);
49
50
#ifdef __cplusplus
51
}
52
#endif
53
dirent
Definition:
dirent.h:39
DIR
Definition:
dirent.c:34
Generated by
1.8.13