VirtualBox

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


Ignore:
Timestamp:
Nov 13, 2017 3:29:43 PM (7 years ago)
Author:
vboxsync
Message:

iprt: A bunch of basic function for working the file system relative to an open directory. There is only a default implementation currently, the path race conditions will first be eliminated/reduced with platform specific implementations (POSIX, NT). Also added a VFS wrapper around RTDIR handles, completing RTVfsChainOpenDir and making RTLs work on normal directories too (instead of only isofs and fat).

File:
1 edited

Legend:

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

    r69474 r69674  
    7373    /** The length of the path. */
    7474    size_t              cchPath;
    75     /** Set to indicate that the Data member contains unread data. */
    76     bool                fDataUnread;
    7775    /** Pointer to the converted filename.
    7876     * This can be NULL. */
     
    8684    /** The size of this structure. */
    8785    size_t              cbSelf;
     86    /** The RTDIR_F_XXX flags passed to RTDirOpenFiltered */
     87    uint32_t            fFlags;
     88    /** Set to indicate that the Data member contains unread data. */
     89    bool                fDataUnread;
    8890
    8991#ifndef RTDIR_AGNOSTIC
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