// fileutil.h : // #if !defined(AGD_FILEUTIL_H__35BFEDA3_B89A_4431_B376_4E96713D12C2__INCLUDED_) #define AGD_FILEUTIL_H__35BFEDA3_B89A_4431_B376_4E96713D12C2__INCLUDED_ #include #include #include #ifdef __cplusplus extern "C" { #endif // __cplusplus ///////////////////////////////////////////////////////////////////////////// // fileutil.h - Declarations: size_t GetFileSize(FILE *fd); int FileExist(const char *file); int DirectoryExist(const char *dir); int CreateDirectory(const char *pszDir); const char* GetAppPath(char *pszPath, size_t nCChPath); const char* GetAppDirectory(char *pszDir, size_t nCChDir); const char* BuildCanonicalFilePath(const char *pszDir, const char *pszFilespec, char *pszPath, size_t nCChPath); ///////////////////////////////////////////////////////////////////////////// #ifdef __cplusplus } #endif // __cplusplus #endif // !defined(AGD_FILEUTIL_H__35BFEDA3_B89A_4431_B376_4E96713D12C2__INCLUDED_)