forked from len0rd/rockbox
Now supports multiple concurrent opendir()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@727 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9e7ee96b6e
commit
3d25f7825a
2 changed files with 37 additions and 20 deletions
|
|
@ -19,6 +19,8 @@
|
|||
#ifndef _DIR_H_
|
||||
#define _DIR_H_
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#ifndef DIRENT_DEFINED
|
||||
|
||||
#define ATTR_READ_ONLY 0x01
|
||||
|
|
@ -42,8 +44,10 @@ struct dirent {
|
|||
#include "fat.h"
|
||||
|
||||
typedef struct {
|
||||
bool busy;
|
||||
int startcluster;
|
||||
struct fat_dir fatdir;
|
||||
struct dirent theent;
|
||||
} DIR;
|
||||
|
||||
#else // SIMULATOR
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue