author | KUDr |
Sat, 21 Apr 2007 08:23:57 +0000 | |
branch | cpp_gui |
changeset 6308 | 646711c5feaa |
parent 6303 | 84c215fc8eb8 |
permissions | -rw-r--r-- |
2186 | 1 |
/* $Id$ */ |
2 |
||
6285
187e3ef04cc9
(svn r9004) [cpp_gui] -Sync with trunk (r8900..r9003)
KUDr
parents:
5726
diff
changeset
|
3 |
/** @file fileio.h Declarations for Standard In/Out file operations */ |
187e3ef04cc9
(svn r9004) [cpp_gui] -Sync with trunk (r8900..r9003)
KUDr
parents:
5726
diff
changeset
|
4 |
|
0 | 5 |
#ifndef FILEIO_H |
6 |
#define FILEIO_H |
|
7 |
||
8 |
void FioSeekTo(uint32 pos, int mode); |
|
9 |
void FioSeekToFile(uint32 pos); |
|
6298
c30fe89622df
(svn r9119) [cpp_gui] -Sync with trunk (r9003:9100)
bjarni
parents:
6285
diff
changeset
|
10 |
uint32 FioGetPos(); |
c30fe89622df
(svn r9119) [cpp_gui] -Sync with trunk (r9003:9100)
bjarni
parents:
6285
diff
changeset
|
11 |
byte FioReadByte(); |
c30fe89622df
(svn r9119) [cpp_gui] -Sync with trunk (r9003:9100)
bjarni
parents:
6285
diff
changeset
|
12 |
uint16 FioReadWord(); |
c30fe89622df
(svn r9119) [cpp_gui] -Sync with trunk (r9003:9100)
bjarni
parents:
6285
diff
changeset
|
13 |
uint32 FioReadDword(); |
c30fe89622df
(svn r9119) [cpp_gui] -Sync with trunk (r9003:9100)
bjarni
parents:
6285
diff
changeset
|
14 |
void FioCloseAll(); |
0 | 15 |
void FioOpenFile(int slot, const char *filename); |
16 |
void FioReadBlock(void *ptr, uint size); |
|
17 |
void FioSkipBytes(int n); |
|
6303 | 18 |
|
19 |
FILE *FioFOpenFile(const char *filename); |
|
4201
3004bdee457d
(svn r5685) - Codechange: s/FiosCheckFileExists/FioCheckFileExists/ to unify the naming of these functions.
Darkvater
parents:
2736
diff
changeset
|
20 |
bool FioCheckFileExists(const char *filename); |
6303 | 21 |
void FioCreateDirectory(const char *filename); |
22 |
||
23 |
void AppendPathSeparator(char *buf, size_t buflen); |
|
24 |
void DeterminePaths(const char *exe); |
|
0 | 25 |
|
26 |
#endif /* FILEIO_H */ |