src/fileio.h
author rubidium
Wed, 03 Jan 2007 08:55:13 +0000
branchcustombridgeheads
changeset 5644 ec96a5a38023
parent 5643 3778051e8095
child 6285 187e3ef04cc9
child 6505 abcb0580d976
permissions -rw-r--r--
(svn r7791) [cbh] -Fix (r7790): forgot to run projects/generate, so the MSVC project files were not in sync with sources.list.
/* $Id$ */

#ifndef FILEIO_H
#define FILEIO_H

void FioSeekTo(uint32 pos, int mode);
void FioSeekToFile(uint32 pos);
uint32 FioGetPos(void);
byte FioReadByte(void);
uint16 FioReadWord(void);
uint32 FioReadDword(void);
void FioCloseAll(void);
FILE *FioFOpenFile(const char *filename);
void FioOpenFile(int slot, const char *filename);
void FioReadBlock(void *ptr, uint size);
void FioSkipBytes(int n);
bool FioCheckFileExists(const char *filename);

#endif /* FILEIO_H */