tstShflCase.cpp revision 41ec0aea113daf004518a52ca1f75d766504b7d5
2740N/A * available from http://www.virtualbox.org. This file is free software;
2740N/Astatic char *pszDirList[] =
2740N/Astatic char *pszDirListC[] =
2740N/Astatic char *pszDirListTestdir[] =
2740N/Astatic char *pszDirListSUBDIR[] =
AssertFailed();
return VINF_SUCCESS;
iDirFile = 0;
return VINF_SUCCESS;
int rtDirReadEx(PRTDIR pDir, PRTDIRENTRYEX pDirEntry, unsigned *pcbDirEntry, RTFSOBJATTRADD enmAdditionalAttribs)
switch(iDirList)
return VERR_NO_MORE_FILES;
return VERR_NO_MORE_FILES;
return VERR_NO_MORE_FILES;
return VINF_SUCCESS;
int rtPathQueryInfo(const char *pszPath, PRTFSOBJINFO pObjInfo, RTFSOBJATTRADD enmAdditionalAttribs)
int cMax;
char **ppszDirList;
return VINF_SUCCESS;
switch(iDirList)
return VERR_FILE_NOT_FOUND;
for (int i=0;i<cMax;i++)
return VINF_SUCCESS;
return VERR_FILE_NOT_FOUND;
if (pDirEntry == 0)
AssertFailed();
return VERR_NO_MEMORY;
goto end;
AssertFailed();
end:
if (pDirEntry)
return rc;
int rc;
if (fWildCard)
src--;
*pszWildCardComponent = 0;
*src = 0;
#ifdef DEBUG
*src = 0;
src--;
src++;
bool fEndOfString = true;
while(*end)
end++;
fEndOfString = false;
*end = 0;
if (fEndOfString)
if (fWildCard)
return rc;