tron@2186: /* $Id$ */ tron@2186: belugas@6527: /** @file fileio.h Declarations for Standard In/Out file operations */ belugas@6505: truelight@0: #ifndef FILEIO_H truelight@0: #define FILEIO_H truelight@0: truelight@0: void FioSeekTo(uint32 pos, int mode); truelight@0: void FioSeekToFile(uint32 pos); celestar@9895: uint32 FioGetPos(); celestar@9895: byte FioReadByte(); celestar@9895: uint16 FioReadWord(); celestar@9895: uint32 FioReadDword(); celestar@9895: void FioCloseAll(); truelight@0: void FioOpenFile(int slot, const char *filename); truelight@0: void FioReadBlock(void *ptr, uint size); truelight@0: void FioSkipBytes(int n); celestar@9895: celestar@9895: FILE *FioFOpenFile(const char *filename); Darkvater@4201: bool FioCheckFileExists(const char *filename); celestar@9895: void FioCreateDirectory(const char *filename); celestar@9895: celestar@9895: void AppendPathSeparator(char *buf, size_t buflen); celestar@9895: void DeterminePaths(const char *exe); truelight@0: truelight@0: #endif /* FILEIO_H */