From 81bf9f8503c52974c232252a20d1b1528be66d58 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 25 Dec 2007 11:26:07 +0000 Subject: (svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h' --- src/fileio.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/fileio.h') 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. -- cgit v1.2.3-54-g00ecf