VirtualBox

Changeset 98818 in vbox for trunk/include


Ignore:
Timestamp:
Mar 2, 2023 1:52:48 PM (21 months ago)
Author:
vboxsync
Message:

Guest Control: Specify the directory reading parameters (additional attributes + reading flags) when opening the directory calls, not on every directory entry read. Should save a few bytes on every read. bugref:9783

Location:
trunk/include/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/HostServices/GuestControlSvc.h

    r98792 r98818  
    10331033    /** Directory open flags (GSTCTLDIR_F_XXX). */
    10341034    HGCMFunctionParameter flags;
     1035    /** Additional directory attributes to use
     1036     *  (GSTCTLFSOBJATTRADD, for subsequent directory entry read calls). */
     1037    HGCMFunctionParameter read_attr_add;
     1038    /** Directory reading flags (for subsequent directory entry read calls).
     1039     *  GSTCTL_PATH_F_ON_LINK or GSTCTL_PATH_F_FOLLOW_LINK. */
     1040    HGCMFunctionParameter read_flags;
    10351041} HGCMMsgDirOpen;
    10361042
     
    10601066     *  @sa GSTCTL_DIRENTRY_MAX_SIZE */
    10611067    HGCMFunctionParameter max_entry_size;
    1062     /** Additional directory attributes to use (GSTCTLFSOBJATTRADD). */
    1063     HGCMFunctionParameter add_attributes;
    1064     /** Directory reading flags.
    1065      *  GSTCTL_PATH_F_ON_LINK or GSTCTL_PATH_F_FOLLOW_LINK. */
    1066     HGCMFunctionParameter flags;
    10671068} HGCMMsgDirRead;
    10681069
  • trunk/include/VBox/VBoxGuestLib.h

    r98817 r98818  
    11181118 */
    11191119VBGLR3DECL(int) VbglR3GuestCtrlDirGetCreate(PVBGLR3GUESTCTRLCMDCTX pCtx, char *pszPath, uint32_t cbPath, uint32_t *pfMode, uint32_t *pfFlags);
    1120 VBGLR3DECL(int) VbglR3GuestCtrlDirGetOpen(PVBGLR3GUESTCTRLCMDCTX pCtx, char *pszPath, uint32_t cbPath, uint32_t *pfFlags, GSTCTLDIRFILTER *penmFilter);
     1120VBGLR3DECL(int) VbglR3GuestCtrlDirGetOpen(PVBGLR3GUESTCTRLCMDCTX pCtx, char *pszPath, uint32_t cbPath, uint32_t *pfFlags, GSTCTLDIRFILTER *penmFilter, GSTCTLFSOBJATTRADD *penmReadAttrAdd, uint32_t *pfReadFlags);
    11211121VBGLR3DECL(int) VbglR3GuestCtrlDirGetClose(PVBGLR3GUESTCTRLCMDCTX pCtx, uint32_t *puHandle);
    1122 VBGLR3DECL(int) VbglR3GuestCtrlDirGetRead(PVBGLR3GUESTCTRLCMDCTX pCtx, uint32_t *puHandle, uint32_t *pcbDirEntry, uint32_t *penmAddAttrib, uint32_t *pfFlags);
     1122VBGLR3DECL(int) VbglR3GuestCtrlDirGetRead(PVBGLR3GUESTCTRLCMDCTX pCtx, uint32_t *puHandle, uint32_t *pcbDirEntry);
    11231123VBGLR3DECL(int) VbglR3GuestCtrlDirGetRewind(PVBGLR3GUESTCTRLCMDCTX pCtx, uint32_t *puHandle);
    11241124/** @} */
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