14 #include "headers/types.hpp"
23 io& open (Bool(*funcPtr)(
const char * filename, I64 * filesize,
void ** fileHandle));
24 io& close (
void(*funcPtr)(
void * fileHandle));
25 io& endOfFile (Bool(*funcPtr)(
void * fileHandle));
26 io& read (Int (*funcPtr)(
void * destBuffer, Int maxBytesToRead,
void * fileHandle));
27 io& getPosition(I64 (*funcPtr)(
void * fileHandle));
28 io& setPosition(Bool(*funcPtr)(I64 newPosition ,
void * fileHandle));
29 io& fileExists(Bool(*funcPtr)(
const char * filename));
31 io& setActive(Bool value);
43 #endif // IO_H_INCLUDED