diff options
author | Björn Stenberg <bjorn@haxx.se> | 2002-05-27 09:13:24 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2002-05-27 09:13:24 +0000 |
commit | 3d25f7825a7e3df85a8077aec8b7bbce5fde8dfa (patch) | |
tree | 5bdbad1bfbd2215f1e4bbaa4e31a8f95f59956dd /firmware/common/dir.h | |
parent | 9e7ee96b6eccb1060a56375ce19f0a0bdc0471b7 (diff) | |
download | rockbox-3d25f7825a7e3df85a8077aec8b7bbce5fde8dfa.tar.gz rockbox-3d25f7825a7e3df85a8077aec8b7bbce5fde8dfa.zip |
Now supports multiple concurrent opendir()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@727 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common/dir.h')
-rw-r--r-- | firmware/common/dir.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/common/dir.h b/firmware/common/dir.h index 274c0b1ea4..0cd35d063b 100644 --- a/firmware/common/dir.h +++ b/firmware/common/dir.h | |||
@@ -19,6 +19,8 @@ | |||
19 | #ifndef _DIR_H_ | 19 | #ifndef _DIR_H_ |
20 | #define _DIR_H_ | 20 | #define _DIR_H_ |
21 | 21 | ||
22 | #include <stdbool.h> | ||
23 | |||
22 | #ifndef DIRENT_DEFINED | 24 | #ifndef DIRENT_DEFINED |
23 | 25 | ||
24 | #define ATTR_READ_ONLY 0x01 | 26 | #define ATTR_READ_ONLY 0x01 |
@@ -42,8 +44,10 @@ struct dirent { | |||
42 | #include "fat.h" | 44 | #include "fat.h" |
43 | 45 | ||
44 | typedef struct { | 46 | typedef struct { |
47 | bool busy; | ||
45 | int startcluster; | 48 | int startcluster; |
46 | struct fat_dir fatdir; | 49 | struct fat_dir fatdir; |
50 | struct dirent theent; | ||
47 | } DIR; | 51 | } DIR; |
48 | 52 | ||
49 | #else // SIMULATOR | 53 | #else // SIMULATOR |