--- hatari/src/includes/file.h 2019/04/01 07:14:49 1.1.1.11 +++ hatari/src/includes/file.h 2019/04/09 08:48:42 1.1.1.13 @@ -16,7 +16,7 @@ extern bool File_DirExists(const char *p extern bool File_DoesFileNameEndWithSlash(char *pszFileName); extern Uint8 *File_Read(const char *pszFileName, long *pFileSize, const char * const ppszExts[]); extern bool File_Save(const char *pszFileName, const Uint8 *pAddress, size_t Size, bool bQueryOverwrite); -extern int File_Length(const char *pszFileName); +extern off_t File_Length(const char *pszFileName); extern bool File_Exists(const char *pszFileName); extern bool File_DirectoryExists(const char *psDirName); extern bool File_QueryOverwrite(const char *pszFileName); @@ -26,6 +26,7 @@ extern char* File_MakePath(const char *p extern void File_ShrinkName(char *pDestFileName, const char *pSrcFileName, int maxlen); extern FILE *File_Open(const char *path, const char *mode); extern FILE *File_Close(FILE *fp); +extern bool File_InputAvailable(FILE *fp); extern void File_MakeAbsoluteSpecialName(char *pszFileName); extern void File_MakeAbsoluteName(char *pszFileName); extern void File_MakeValidPathName(char *pPathName);