VirtualBox

Changeset 67132 in vbox


Ignore:
Timestamp:
May 29, 2017 5:51:09 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
115804
Message:

IPRT: Added RTPathSkipRootSpec.

Location:
trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/mangling.h

    r67123 r67132  
    14371437# define RTPathSetTimesEx                               RT_MANGLER(RTPathSetTimesEx)
    14381438# define RTPathSharedLibs                               RT_MANGLER(RTPathSharedLibs)
     1439# define RTPathSkipRootSpec                             RT_MANGLER(RTPathSkipRootSpec)
    14391440# define RTPathSplit                                    RT_MANGLER(RTPathSplit)
    14401441# define RTPathSplitATag                                RT_MANGLER(RTPathSplitATag)
     
    22982299# define RTVfsChainOpenFile                             RT_MANGLER(RTVfsChainOpenFile)
    22992300# define RTVfsChainOpenIoStream                         RT_MANGLER(RTVfsChainOpenIoStream)
     2301# define RTVfsChainQueryFinalPath                       RT_MANGLER(RTVfsChainQueryFinalPath)
    23002302# define RTVfsChainQueryInfo                            RT_MANGLER(RTVfsChainQueryInfo)
    23012303# define RTVfsChainSpecCheckAndSetup                    RT_MANGLER(RTVfsChainSpecCheckAndSetup)
  • trunk/include/iprt/path.h

    r62473 r67132  
    359359
    360360/**
     361 * Skips the root specification, if present.
     362 *
     363 * @return  Pointer to the first char after the root specification.  This can be
     364 *          pointing to the terminator, if the path is only a root
     365 *          specification.
     366 * @param   pszPath     The path to skip ahead in.
     367 */
     368RTDECL(char *) RTPathSkipRootSpec(const char *pszPath);
     369
     370/**
    361371 * Ensures that the path has a trailing path separator such that file names can
    362372 * be appended without further work.
     
    479489 */
    480490RTDECL(bool) RTPathStartsWithRoot(const char *pszPath);
     491
     492
    481493
    482494/**
  • trunk/src/VBox/Runtime/Makefile.kmk

    r67116 r67132  
    510510        common/path/RTPathRealDup.cpp \
    511511        common/path/RTPathRmCmd.cpp \
     512        common/path/RTPathSkipRootSpec.cpp \
    512513        common/path/RTPathSplit.cpp \
    513514        common/path/RTPathSplitA.cpp \
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette