author | glx |
Mon, 24 Sep 2007 03:08:47 +0000 | |
branch | 0.5 |
changeset 5545 | f42dc59a45f5 |
parent 5511 | fee376b81447 |
permissions | -rw-r--r-- |
2186 | 1 |
/* $Id$ */ |
2 |
||
0 | 3 |
#ifndef FILEIO_H |
4 |
#define FILEIO_H |
|
5 |
||
6 |
void FioSeekTo(uint32 pos, int mode); |
|
7 |
void FioSeekToFile(uint32 pos); |
|
1093
e8d26c7dc42f
(svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
tron
parents:
0
diff
changeset
|
8 |
uint32 FioGetPos(void); |
e8d26c7dc42f
(svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
tron
parents:
0
diff
changeset
|
9 |
byte FioReadByte(void); |
e8d26c7dc42f
(svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
tron
parents:
0
diff
changeset
|
10 |
uint16 FioReadWord(void); |
e8d26c7dc42f
(svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
tron
parents:
0
diff
changeset
|
11 |
uint32 FioReadDword(void); |
e8d26c7dc42f
(svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
tron
parents:
0
diff
changeset
|
12 |
void FioCloseAll(void); |
2736
1ea068235989
(svn r3281) -Feature: [OSX] added native cocoa sound and video drivers (egladil)
bjarni
parents:
2186
diff
changeset
|
13 |
FILE *FioFOpenFile(const char *filename); |
0 | 14 |
void FioOpenFile(int slot, const char *filename); |
15 |
void FioReadBlock(void *ptr, uint size); |
|
16 |
void FioSkipBytes(int n); |
|
4201
3004bdee457d
(svn r5685) - Codechange: s/FiosCheckFileExists/FioCheckFileExists/ to unify the naming of these functions.
Darkvater
parents:
2736
diff
changeset
|
17 |
bool FioCheckFileExists(const char *filename); |
5511
fee376b81447
(svn r10277) [0.5] -Backport from trunk (10116, r10128, r10130, r10131, r10137, r10138):
rubidium
parents:
4201
diff
changeset
|
18 |
void SanitizeFilename(char *filename); |
0 | 19 |
|
20 |
#endif /* FILEIO_H */ |