VirtualBox

Changeset 85384 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Jul 18, 2020 9:17:43 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
139398
Message:

iprt/path.h: Reimplemented RTPathFindCommon[Ex].

File:
1 edited

Legend:

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

    r85383 r85384  
    545545 *                      not contains ".." sequences, as that's too complicated
    546546 *                      to handle.
    547  * @param   fFlags      RTPATH_STR_F_STYLE_XXX and RTPATH_STR_F_NO_START if
    548  *                      wanted.  Other RTPATH_STR_F_XXX flags will be ignored.
     547 * @param   fFlags      RTPATH_STR_F_STYLE_XXX, RTPATH_STR_F_NO_START, and
     548 *                      RTPATHFINDCOMMON_F_IGNORE_DOTDOT as desired.   Other
     549 *                      RTPATH_STR_F_XXX flags will be ignored.
    549550 */
    550551RTDECL(size_t) RTPathFindCommonEx(size_t cPaths, const char * const *papszPaths, uint32_t fFlags);
     552
     553/** @name RTPATHFINDCOMMON_F_XXX - Flags for RTPathFindCommonEx.
     554 * @{ */
     555/** Ignore the dangers of '..' components. */
     556#define RTPATHFINDCOMMON_F_IGNORE_DOTDOT    RT_BIT_32(16)
     557/** @} */
    551558
    552559/**
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