fileio.h
changeset 1093 4fdc46eaf423
parent 0 29654efe3188
child 1198 2ad7ac9e1d59
equal deleted inserted replaced
1092:e3b4a131db7c 1093:4fdc46eaf423
     1 #ifndef FILEIO_H
     1 #ifndef FILEIO_H
     2 #define FILEIO_H
     2 #define FILEIO_H
     3 
     3 
     4 void FioSeekTo(uint32 pos, int mode);
     4 void FioSeekTo(uint32 pos, int mode);
     5 void FioSeekToFile(uint32 pos);
     5 void FioSeekToFile(uint32 pos);
     6 uint32 FioGetPos();
     6 uint32 FioGetPos(void);
     7 byte FioReadByte();
     7 byte FioReadByte(void);
     8 uint16 FioReadWord();
     8 uint16 FioReadWord(void);
     9 uint32 FioReadDword();
     9 uint32 FioReadDword(void);
    10 void FioCloseAll();
    10 void FioCloseAll(void);
    11 void FioOpenFile(int slot, const char *filename);
    11 void FioOpenFile(int slot, const char *filename);
    12 void FioReadBlock(void *ptr, uint size);
    12 void FioReadBlock(void *ptr, uint size);
    13 void FioSkipBytes(int n);
    13 void FioSkipBytes(int n);
    14 
    14 
    15 #endif /* FILEIO_H */
    15 #endif /* FILEIO_H */