summaryrefslogtreecommitdiff
path: root/src/fileio.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fileio.h')
-rw-r--r--src/fileio.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fileio.h b/src/fileio.h
index 9e589ba71..a8dfc5644 100644
--- a/src/fileio.h
+++ b/src/fileio.h
@@ -112,6 +112,8 @@ static inline const char *FioGetSubdirectory(Subdirectory subdir)
void SanitizeFilename(char *filename);
void AppendPathSeparator(char *buf, size_t buflen);
void DeterminePaths(const char *exe);
+void *ReadFileToMem(const char *filename, size_t *lenp, size_t maxsize);
+bool FileExists(const char *filename);
extern char *_personal_dir; ///< custom directory for personal settings, saves, newgrf, etc.