diff options
author | Björn Stenberg <bjorn@haxx.se> | 2003-01-09 00:55:00 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2003-01-09 00:55:00 +0000 |
commit | c78e1b07fead2b5861fb6fc4c9ba130660fb323f (patch) | |
tree | 267406ed9e1e3c68238f688934d2088a1fa7c8e3 /uisimulator/x11/file.h | |
parent | 0e342181c3f96890506aa8720ac2d680b97c12e4 (diff) | |
download | rockbox-c78e1b07fead2b5861fb6fc4c9ba130660fb323f.tar.gz rockbox-c78e1b07fead2b5861fb6fc4c9ba130660fb323f.zip |
The much-anticipated queue patch by Hardeep Sidhu. Queue a file by holding down PLAY on it while playing other music.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3040 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/x11/file.h')
-rw-r--r-- | uisimulator/x11/file.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/uisimulator/x11/file.h b/uisimulator/x11/file.h index 28c2f2c17a..134019148c 100644 --- a/uisimulator/x11/file.h +++ b/uisimulator/x11/file.h | |||
@@ -21,13 +21,18 @@ | |||
21 | #include <sys/types.h> | 21 | #include <sys/types.h> |
22 | 22 | ||
23 | int x11_open(char *name, int opts); | 23 | int x11_open(char *name, int opts); |
24 | int x11_creat(char *name, int mode); | ||
25 | int x11_remove(char *name); | ||
24 | 26 | ||
25 | #define open(x,y) x11_open(x,y) | 27 | #define open(x,y) x11_open(x,y) |
28 | #define creat(x,y) x11_open(x,y) | ||
29 | #define remove(x) x11_remove(x) | ||
26 | 30 | ||
27 | #include "../../firmware/common/file.h" | 31 | #include "../../firmware/common/file.h" |
28 | 32 | ||
29 | extern int open(char* pathname, int flags); | 33 | extern int open(char* pathname, int flags); |
30 | extern int close(int fd); | 34 | extern int close(int fd); |
31 | extern int read(int fd, void* buf, int count); | 35 | extern int read(int fd, void* buf, int count); |
36 | extern int write(int fd, void* buf, int count); | ||
32 | extern int lseek(int fd, int offset, int whence); | 37 | extern int lseek(int fd, int offset, int whence); |
33 | extern int printf(const char *format, ...); | 38 | extern int printf(const char *format, ...); |