VirtualBox

Changeset 78947 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Jun 4, 2019 12:39:03 AM (6 years ago)
Author:
vboxsync
Message:

SharedFolderSvc,IPRT: Implemented changing attributes/mode via a directory handle. bugref:9172 ticketref:17626 ticketref:17859

Location:
trunk/include/iprt
Files:
2 edited

Legend:

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

    r78186 r78947  
    599599
    600600
     601/**
     602 * Changes the mode flags of an open directory.
     603 *
     604 * The API requires at least one of the mode flag sets (Unix/Dos) to
     605 * be set. The type is ignored.
     606 *
     607 * @returns iprt status code.
     608 * @param   hDir                Handle to the open directory.
     609 * @param   fMode               The new file mode, see @ref grp_rt_fs for details.
     610 */
     611RTDECL(int) RTDirSetMode(RTDIR hDir, RTFMODE fMode);
     612
     613
    601614/** @defgroup grp_rt_dir_rel    Directory relative APIs
    602615 *
  • trunk/include/iprt/mangling.h

    r78821 r78947  
    792792# define RTDirRename                                    RT_MANGLER(RTDirRename)
    793793# define RTDirRewind                                    RT_MANGLER(RTDirRewind)
     794# define RTDirSetMode                                   RT_MANGLER(RTDirSetMode)
    794795# define RTDirSetTimes                                  RT_MANGLER(RTDirSetTimes)
    795796# define RTDirRelFileOpen                               RT_MANGLER(RTDirRelFileOpen)
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