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);
|
2006-07-31 22:15:39 +00:00
|
|
|
bool FioCheckFileExists(const char *filename);
|
2004-08-09 17:04:08 +00:00
|
|
|
|
|
|
|
#endif /* FILEIO_H */
|