- Timestamp:
- Jul 13, 2020 4:07:10 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 139289
- Location:
- trunk
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/mangling.h
r85154 r85311 1680 1680 # define RTPathFilenameEx RT_MANGLER(RTPathFilenameEx) 1681 1681 # define RTPathFilenameExUtf16 RT_MANGLER(RTPathFilenameExUtf16) 1682 # define RTPathFindCommon RT_MANGLER(RTPathFindCommon) 1683 # define RTPathFindCommonEx RT_MANGLER(RTPathFindCommonEx) 1682 1684 # define RTPathGetCurrent RT_MANGLER(RTPathGetCurrent) 1683 1685 # define RTPathGetCurrentDrive RT_MANGLER(RTPathGetCurrentDrive) -
trunk/include/iprt/path.h
r85121 r85311 519 519 RTDECL(char *) RTPathFilenameEx(const char *pszPath, uint32_t fFlags); 520 520 RTDECL(PRTUTF16) RTPathFilenameExUtf16(PCRTUTF16 pwszPath, uint32_t fFlags); 521 522 /** 523 * Finds the common path in a given set of paths, extended version. 524 * 525 * Note: This does not check paths for existience or other things (e.g. symlinks). 526 * 527 * @returns Length (in characters) of the common path, 0 if not found. 528 * @param papcszPaths Array of paths to find common path for. 529 * @param cPaths Number of paths in \a papcszPaths. 530 * @param szSeparator Path separator to use for comparision. 531 */ 532 RTDECL(size_t) RTPathFindCommonEx(const char * const *papcszPaths, size_t cPaths, char szSeparator); 533 534 /** 535 * Finds the common path in a given set of paths. 536 * 537 * Uses the system's native slash as separator. 538 * Note: This does not check paths for existience or other things (e.g. symlinks). 539 * 540 * @returns Length (in characters) of the common path, 0 if not found. 541 * @param papcszPaths Array of paths to find common path for. 542 * @param cPaths Number of paths in \a papcszPaths. 543 * @param szSeparator Path separator to use for comparision. 544 */ 545 RTDECL(size_t) RTPathFindCommon(const char * const *papcszPaths, size_t cPaths); 521 546 522 547 /** -
trunk/src/VBox/Runtime/Makefile.kmk
r85154 r85311 548 548 common/path/RTPathFilename.cpp \ 549 549 common/path/RTPathFilenameUtf16.cpp \ 550 common/path/RTPathFindCommon.cpp \ 550 551 common/path/RTPathGlob.cpp \ 551 552 common/path/RTPathHasExt.cpp \ -
trunk/src/VBox/Runtime/testcase/Makefile.kmk
r85154 r85311 101 101 tstOnce \ 102 102 tstRTPath \ 103 tstRTPathFindCommon \ 103 104 tstRTPathGlob \ 104 105 tstRTPathQueryInfo \ … … 569 570 tstRTPath_SOURCES = tstRTPath.cpp 570 571 572 tstRTPathFindCommon_TEMPLATE = VBOXR3TSTEXE 573 tstRTPathFindCommon_SOURCES = tstRTPathFindCommon.cpp 574 571 575 tstRTPathGlob_TEMPLATE = VBOXR3TSTEXE 572 576 tstRTPathGlob_SOURCES = tstRTPathGlob.cpp
Note:
See TracChangeset
for help on using the changeset viewer.