diff options
Diffstat (limited to 'firmware/include')
| -rw-r--r-- | firmware/include/dir.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/include/dir.h b/firmware/include/dir.h index ab8e15f..7de0276 100644 --- a/firmware/include/dir.h +++ b/firmware/include/dir.h @@ -48,6 +48,7 @@ typedef struct { bool busy; int startcluster; struct fat_dir fatdir; + struct fat_dir parent_dir; struct dirent theent; } DIR; @@ -73,6 +74,7 @@ typedef struct DIRtag extern DIR* opendir(char* name); extern int closedir(DIR* dir); extern int mkdir(char* name, int mode); +extern int rmdir(char* name); extern struct dirent* readdir(DIR* dir); |