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 | 429521a7d1f549ba3f9a287885c42f400f5e960f (patch) | |
tree | 54a33aa10dd79668da9f46e61e427ace39f5d37f /src/fileio.h | |
parent | bf98e25e43c3f6efe207c3dde1732d44c34ac285 (diff) | |
download | openttd-429521a7d1f549ba3f9a287885c42f400f5e960f.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. |