diff options
author | rubidium <rubidium@openttd.org> | 2007-12-25 11:26:07 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-12-25 11:26:07 +0000 |
commit | 81bf9f8503c52974c232252a20d1b1528be66d58 (patch) | |
tree | 54a33aa10dd79668da9f46e61e427ace39f5d37f /src/fileio.h | |
parent | 00c9d3ef20c83df43118a9ace5b8dd8eca26a126 (diff) | |
download | openttd-81bf9f8503c52974c232252a20d1b1528be66d58.tar.xz |
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
Diffstat (limited to 'src/fileio.h')
-rw-r--r-- | src/fileio.h | 2 |
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. |