matthijs@9959: /* $Id$ */ matthijs@9959: matthijs@9959: #ifndef FILEIO_H matthijs@9959: #define FILEIO_H matthijs@9959: matthijs@9959: void FioSeekTo(uint32 pos, int mode); matthijs@9959: void FioSeekToFile(uint32 pos); matthijs@9959: uint32 FioGetPos(void); matthijs@9959: byte FioReadByte(void); matthijs@9959: uint16 FioReadWord(void); matthijs@9959: uint32 FioReadDword(void); matthijs@9959: void FioCloseAll(void); matthijs@9959: FILE *FioFOpenFile(const char *filename); matthijs@9959: void FioOpenFile(int slot, const char *filename); matthijs@9959: void FioReadBlock(void *ptr, uint size); matthijs@9959: void FioSkipBytes(int n); matthijs@9959: bool FiosCheckFileExists(const char *filename); matthijs@9959: matthijs@9959: #endif /* FILEIO_H */