HB_BOOL hb_fileExists( const char * pszFileName, char * pRetPath ) { int i = s_fileFindDrv( pszFileName ); if( i >= 0 ) return s_pFileTypes[ i ]->Exists( s_pFileTypes[ i ], pszFileName, pRetPath ); return hb_spFileExists( pszFileName, pRetPath ); }
HB_BOOL hb_fileExists( const char * pFilename, char * pRetPath ) { int i = s_iFileTypes; while( --i >= 0 ) { if( s_pFileTypes[ i ]->Accept( pFilename ) ) return s_pFileTypes[ i ]->Exists( pFilename, pRetPath ); } return hb_spFileExists( pFilename, pRetPath ); }
static HB_BOOL s_fileExists( PHB_FILE_FUNCS pFuncs, const char * pszFileName, char * pRetPath ) { HB_SYMBOL_UNUSED( pFuncs ); return hb_spFileExists( pszFileName, pRetPath ); }