#ifndef FEFOPEN_H #define FEFOPEN_H #include /***************************************************************** * * File Stuff * *****************************************************************/ #ifdef __cplusplus FILE*feFopen(const char *path, const char *mode, char *where=NULL, BOOLEAN useWerror=FALSE, BOOLEAN path_only=FALSE); /* // These are our versions of fopen and fread They are very similar to // the usual fopen and fread, except that on reading, they always // convert "\r\n" into " \n" and "\r" into "\n". // // IMPORTANT: do only use myfopen and myfread when reading text, // do never use fopen and fread */ FILE *myfopen(const char *path, const char *mode); size_t myfread(void *ptr, size_t size, size_t nmemb, FILE *stream); #endif #endif