#ifndef FILE_H #define FILE_H #ifdef __cplusplus extern "C" { #endif #include typedef void (*FileError)(const char*, ...); void fOpen(const char* path, FileError fe); void fClose(); int fRead(); int fPeek(); bool fReadIf(int c); #ifdef __cplusplus } #endif #endif