diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-06-10 13:29:52 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-06-10 13:29:52 +0000 |
commit | a6142ab7ab58f69a3f1a034db4bdf1eff24d3dd6 (patch) | |
tree | ef00c3ec8074ccb080b221c7d1dd4b3d03c8fd87 /uisimulator/x11/file.h | |
parent | 5fc1b64ae051e454d2b3bf3a20be5d88937e55e7 (diff) | |
download | rockbox-a6142ab7ab58f69a3f1a034db4bdf1eff24d3dd6.tar.gz rockbox-a6142ab7ab58f69a3f1a034db4bdf1eff24d3dd6.zip |
Finally, the archos directory sandbox works in the same way for both X11 and win32 simulators. Unfortunately, this breaks the VC++ compatibility. Also, the plugin API now supports DEBUGF. Last, but not least, we have a new plugin, vbrfix.rock.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4726 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/x11/file.h')
-rw-r--r-- | uisimulator/x11/file.h | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/uisimulator/x11/file.h b/uisimulator/x11/file.h deleted file mode 100644 index b30167ecbd..0000000000 --- a/uisimulator/x11/file.h +++ /dev/null | |||
@@ -1,54 +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 | |||
20 | #ifndef ROCKBOX_FILE_H | ||
21 | #define ROCKBOX_FILE_H | ||
22 | |||
23 | #include <stdio.h> | ||
24 | #include <sys/types.h> | ||
25 | |||
26 | int x11_open(const char *name, int opts); | ||
27 | int x11_close(int fd); | ||
28 | int x11_filesize(int fd); | ||
29 | int x11_creat(const char *name, mode_t mode); | ||
30 | int x11_remove(char *name); | ||
31 | int x11_rename(char *oldpath, char *newpath); | ||
32 | |||
33 | #ifndef NO_REDEFINES_PLEASE | ||
34 | #define open(x,y) x11_open(x,y) | ||
35 | #define close(x) x11_close(x) | ||
36 | #define filesize(x) x11_filesize(x) | ||
37 | #define creat(x,y) x11_creat(x,y) | ||
38 | #define remove(x) x11_remove(x) | ||
39 | #define rename(x,y) x11_rename(x,y) | ||
40 | #endif | ||
41 | |||
42 | #include "../../firmware/include/file.h" | ||
43 | |||
44 | int open(const char* pathname, int flags); | ||
45 | int close(int fd); | ||
46 | int printf(const char *format, ...); | ||
47 | int ftruncate(int fd, off_t length); | ||
48 | int fsync(int fd); | ||
49 | |||
50 | off_t lseek(int fildes, off_t offset, int whence); | ||
51 | ssize_t read(int fd, void *buf, size_t count); | ||
52 | ssize_t write(int fd, const void *buf, size_t count); | ||
53 | |||
54 | #endif | ||