VirtualBox

Changeset 69716 in vbox for trunk/src/VBox/Runtime/include


Ignore:
Timestamp:
Nov 16, 2017 2:31:25 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
119097
Message:

IPRT: More work on directory relative APIs (NT mainly) and VFS; introducing RTMkDir (test) tool.

  • Added RTVfsDirCreateDir
  • Added RTVfsChainOpenParentDir and RTVfsChainSplitOffFinalPath.
  • Added new tool for testing this called RTMkDir.
  • Fixed directory traversal problem with stddir by making it okay to return VERR_FILE_NOT_FOUND as well.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/include/internal/dir.h

    r69691 r69716  
    166166 * @param   hRelativeDir        The directory @a pvNativeRelative is relative,
    167167 *                              ~(uintptr_t)0 if absolute.
    168  * @param   pvNativeRelative    The native relative path.  NULL if absolute.
     168 * @param   pvNativeRelative    The native relative path.  NULL if absolute or
     169 *                              we're to use (consume) hRelativeDir.
    169170 */
    170171int rtDirNativeOpen(PRTDIR pDir, char *pszPathBuf, uintptr_t hRelativeDir, void *pvNativeRelative);
     
    179180
    180181
    181 DECLHIDDEN(int) rtDirOpenRelative(PRTDIR *ppDir, const char *pszRelativeAndFilter, RTDIRFILTER enmFilter, uint32_t fFlags,
    182                                   uintptr_t hRelativeDir, void *pvNativeRelative);
     182DECLHIDDEN(int) rtDirOpenRelativeOrHandle(PRTDIR *ppDir, const char *pszRelativeAndFilter, RTDIRFILTER enmFilter, uint32_t fFlags,
     183                                          uintptr_t hRelativeDir, void *pvNativeRelative);
    183184
    184185#endif
Note: See TracChangeset for help on using the changeset viewer.

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