summaryrefslogtreecommitdiff
path: root/uisimulator/x11/dir.h
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/x11/dir.h')
-rw-r--r--uisimulator/x11/dir.h50
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>
23typedef 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
30typedef void * MYDIR;
31
32extern MYDIR *x11_opendir(const char *name);
33extern struct x11_dirent* x11_readdir(MYDIR* dir);
34extern int x11_closedir(MYDIR *dir);
35extern int x11_mkdir(char *name, int mode);
36extern 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