VirtualBox

Changeset 99262 in vbox for trunk/src/VBox/Main/include


Ignore:
Timestamp:
Apr 3, 2023 3:17:07 PM (20 months ago)
Author:
vboxsync
Message:

Guest Control: Implements IGuestSession::fsQueryInfo() and IGuestSession::fsQueryFreeSpace(). bugref:10414

Location:
trunk/src/VBox/Main/include
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/GuestCtrlImplPrivate.h

    r99120 r99262  
    17131713    union
    17141714    {
     1715        /** Holds information for GUEST_FS_NOTIFYTYPE_CREATE_TEMP. */
     1716        struct
     1717        {
     1718            /** Path of created temporary file / directory. */
     1719            char    *pszPath;
     1720            /** Size (in bytes) of \a pszPath. */
     1721            uint32_t cbPath;
     1722        } CreateTemp;
     1723        /** Holds information for GUEST_FS_NOTIFYTYPE_QUERY_OBJ_INFO. */
    17151724        struct
    17161725        {
     
    17241733            /** Size (in bytes) of \a pszGroups. */
    17251734            uint32_t        cbGroups;
     1735        } QueryObjInfo;
     1736        /** Holds information for GUEST_FS_NOTIFYTYPE_QUERY_INFO. */
     1737        struct
     1738        {
     1739            /** The actual filesystem information. */
     1740            GSTCTLFSINFO    fsInfo;
    17261741        } QueryInfo;
    1727         struct
    1728         {
    1729             /** Path of created temporary file / directory. */
    1730             char    *pszPath;
    1731             /** Size (in bytes) of \a pszPath. */
    1732             uint32_t cbPath;
    1733         } CreateTemp;
    17341742    } u;
    17351743} CALLBACKDATA_FS_NOTIFY;
  • trunk/src/VBox/Main/include/GuestSessionImpl.h

    r99258 r99262  
    318318    int                     i_fsCreateTemp(const Utf8Str &strTemplate, const Utf8Str &strPath, bool fDirectory,
    319319                                           Utf8Str &strName, uint32_t fMode, bool fSecure, int *pvrcGuest);
     320    int                     i_fsQueryInfo(const Utf8Str &strPath, PGSTCTLFSINFO pFsInfo, int *pvrcGuest);
    320321    int                     i_fsObjQueryInfo(const Utf8Str &strPath, bool fFollowSymlinks, GuestFsObjData &objData, int *pvrcGuest);
    321322    const GuestCredentials &i_getCredentials(void);
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