summaryrefslogtreecommitdiff
path: root/uisimulator/win32/dir-win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/win32/dir-win32.h')
-rw-r--r--uisimulator/win32/dir-win32.h46
1 files changed, 0 insertions, 46 deletions
diff --git a/uisimulator/win32/dir-win32.h b/uisimulator/win32/dir-win32.h
deleted file mode 100644
index 95ce326e9f..0000000000
--- a/uisimulator/win32/dir-win32.h
+++ /dev/null
@@ -1,46 +0,0 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2002 by Björn Stenberg
11 *
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
14 *
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
17 *
18 ****************************************************************************/
19#ifndef _DIR_WIN32_H_
20#define _DIR_WIN32_H_
21
22#include <stdbool.h>
23
24struct dirent {
25 unsigned char d_name[MAX_PATH];
26 int attribute;
27 int size;
28 int startcluster;
29};
30
31typedef struct
32{
33 struct dirent fd;
34 int handle;
35} DIR;
36
37extern DIR* opendir(const char* name);
38extern int closedir(DIR* dir);
39extern int mkdir(const char* name);
40extern int rmdir(const char* name);
41
42extern struct dirent* readdir(DIR* dir);
43
44#define S_ISDIR(x) (((x) & _S_IFDIR) == _S_IFDIR)
45
46#endif