2005-07-24 14:12:37 +00:00
|
|
|
/* $Id$ */
|
|
|
|
|
2004-08-09 17:04:08 +00:00
|
|
|
#ifndef FILEIO_H
|
|
|
|
#define FILEIO_H
|
|
|
|
|
|
|
|
void FioSeekTo(uint32 pos, int mode);
|
|
|
|
void FioSeekToFile(uint32 pos);
|
2005-01-22 20:23:18 +00:00
|
|
|
uint32 FioGetPos(void);
|
|
|
|
byte FioReadByte(void);
|
|
|
|
uint16 FioReadWord(void);
|
|
|
|
uint32 FioReadDword(void);
|
|
|
|
void FioCloseAll(void);
|
2005-12-10 11:16:45 +00:00
|
|
|
FILE *FioFOpenFile(const char *filename);
|
2004-08-09 17:04:08 +00:00
|
|
|
void FioOpenFile(int slot, const char *filename);
|
|
|
|
void FioReadBlock(void *ptr, uint size);
|
|
|
|
void FioSkipBytes(int n);
|
2005-01-28 08:56:43 +00:00
|
|
|
bool FiosCheckFileExists(const char *filename);
|
2004-08-09 17:04:08 +00:00
|
|
|
|
|
|
|
#endif /* FILEIO_H */
|