diff options
Diffstat (limited to 'firmware/export/filefuncs.h')
-rw-r--r-- | firmware/export/filefuncs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/export/filefuncs.h b/firmware/export/filefuncs.h index 3745c6bee3..f69c6da29c 100644 --- a/firmware/export/filefuncs.h +++ b/firmware/export/filefuncs.h @@ -22,7 +22,9 @@ #ifndef __INCLUDE_FILEFUNCS_H_ #define __INCLUDE_FILEFUNCS_H_ +#include <stdbool.h> #include "config.h" +#include "dir.h" #ifdef HAVE_MULTIVOLUME int strip_volume(const char* name, char* namecopy); @@ -32,5 +34,6 @@ int strip_volume(const char* name, char* namecopy); bool file_exists(const char *file); bool dir_exists(const char *path); #endif +extern struct dirinfo dir_get_info(struct DIR* parent, struct dirent *entry); #endif /* __INCLUDE_FILEFUNCS_H_ */ |