diff options
Diffstat (limited to 'uisimulator/x11/dir.h')
-rw-r--r-- | uisimulator/x11/dir.h | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/uisimulator/x11/dir.h b/uisimulator/x11/dir.h deleted file mode 100644 index 48696c23b8..0000000000 --- a/uisimulator/x11/dir.h +++ /dev/null | |||
@@ -1,50 +0,0 @@ | |||
1 | /*************************************************************************** | ||
2 | * __________ __ ___. | ||
3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
7 | * \/ \/ \/ \/ \/ | ||
8 | * $Id$ | ||
9 | * | ||
10 | * Copyright (C) 2002 by Daniel Stenberg <daniel@haxx.se> | ||
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 _X11_DIR_H_ | ||
20 | #define _X11_DIR_H_ | ||
21 | |||
22 | #include <sys/types.h> | ||
23 | typedef void DIR; | ||
24 | |||
25 | #define DIRFUNCTIONS_DEFINED /* prevent those prototypes */ | ||
26 | #define dirent x11_dirent | ||
27 | #include "../../firmware/include/dir.h" | ||
28 | #undef dirent | ||
29 | |||
30 | typedef void * MYDIR; | ||
31 | |||
32 | extern MYDIR *x11_opendir(const char *name); | ||
33 | extern struct x11_dirent* x11_readdir(MYDIR* dir); | ||
34 | extern int x11_closedir(MYDIR *dir); | ||
35 | extern int x11_mkdir(char *name, int mode); | ||
36 | extern int x11_rmdir(char *name); | ||
37 | |||
38 | #ifndef NO_REDEFINES_PLEASE | ||
39 | |||
40 | #define DIR MYDIR | ||
41 | #define dirent x11_dirent | ||
42 | #define opendir(x) x11_opendir(x) | ||
43 | #define readdir(x) x11_readdir(x) | ||
44 | #define closedir(x) x11_closedir(x) | ||
45 | #define mkdir(x, y) x11_mkdir(x, y) | ||
46 | #define rmdir(x) x11_rmdir(x) | ||
47 | |||
48 | #endif | ||
49 | |||
50 | #endif | ||