Changeset 98709 in vbox for trunk/include
- Timestamp:
- Feb 24, 2023 8:49:40 AM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 156009
- Location:
- trunk/include/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/GuestHost/GuestControl.h
r98665 r98709 402 402 typedef const GSTCTLFSOBJATTR *PCGSTCTLFSOBJATTR; 403 403 404 /** @name GSTCTL_ QUERYINFO_F_XXX - Generic flags for querying guest file system information.404 /** @name GSTCTL_PATH_F_XXX - Generic flags for querying guest file system information. 405 405 * @{ */ 406 406 /** No guest stat flags specified. */ 407 #define GSTCTL_ QUERYINFO_F_NONE UINT32_C(0)407 #define GSTCTL_PATH_F_NONE UINT32_C(0) 408 408 /** Last component: Work on the link. */ 409 #define GSTCTL_ QUERYINFO_F_ON_LINK RT_BIT_32(0)409 #define GSTCTL_PATH_F_ON_LINK RT_BIT_32(0) 410 410 /** Last component: Follow if link. */ 411 #define GSTCTL_ QUERYINFO_F_FOLLOW_LINK RT_BIT_32(1)411 #define GSTCTL_PATH_F_FOLLOW_LINK RT_BIT_32(1) 412 412 /** Don't allow symbolic links as part of the path. */ 413 #define GSTCTL_ QUERYINFO_F_NO_SYMLINKS RT_BIT_32(2)414 /** GSTCTL_ QUERYINFO_F_XXX flag valid mask. */415 #define GSTCTL_ QUERYINFO_F_VALID_MASK UINT32_C(0x00000007)413 #define GSTCTL_PATH_F_NO_SYMLINKS RT_BIT_32(2) 414 /** GSTCTL_PATH_F_XXX flag valid mask. */ 415 #define GSTCTL_PATH_F_VALID_MASK UINT32_C(0x00000007) 416 416 /** @} */ 417 417 … … 443 443 /** @name GSTCTLDIR_F_XXX - Directory flags for HOST_MSG_DIR_OPEN. 444 444 * @{ */ 445 /** No directory open flags specified. */ 446 #define GSTCTLDIR_F_NONE UINT32_C(0) 445 447 /** Don't allow symbolic links as part of the path. 446 448 * @remarks this flag is currently not implemented and will be ignored. */ … … 532 534 typedef GSTCTLDIRENTRYEX const *PCGSTCTLDIRENTRYEX; 533 535 536 /** The maximum size (in bytes) of a GSTCTLDIRENTRYEX (includes dynamic szName[pDirEntry->cbName + 1]). */ 537 #define GSTCTL_DIRENTRY_MAX_SIZE (sizeof(GSTCTLDIRENTRYEX) + RTPATH_MAX) 538 534 539 } /* namespace guestControl */ 535 540 -
trunk/include/VBox/HostServices/GuestControlSvc.h
r98665 r98709 966 966 /** Additional file system attributes to lookup (GSTCTLFSOBJATTRADD). */ 967 967 HGCMFunctionParameter add_attributes; 968 /** Flags (GSTCTL_ QUERYINFO_F_XXX). */968 /** Flags (GSTCTL_PATH_F_XXX). */ 969 969 HGCMFunctionParameter flags; 970 970 } HGCMMsgFsQueryInfo; … … 1029 1029 /** Path of directory to open. */ 1030 1030 HGCMFunctionParameter path; 1031 /** Filter string to use (wildcard style). */1031 /** Filter type to use when walking the directory (GSTCTLDIRFILTER). */ 1032 1032 HGCMFunctionParameter filter; 1033 /** Filter type to use when walking the directory (GSTCTLDIRFILTER). */1034 HGCMFunctionParameter filter_type;1035 1033 /** Directory open flags (GSTCTLDIR_F_XXX). */ 1036 1034 HGCMFunctionParameter flags; … … 1059 1057 /** Handle of directory listing to read the next entry for. */ 1060 1058 HGCMFunctionParameter handle; 1061 /** Custom directory entry size (in bytes) to use. */ 1062 HGCMFunctionParameter entry_size; 1059 /** Maximum directory entry size (in bytes) to use. 1060 * @sa GSTCTL_DIRENTRY_MAX_SIZE */ 1061 HGCMFunctionParameter max_entry_size; 1063 1062 /** Additional directory attributes to use (GSTCTLFSOBJATTRADD). */ 1064 1063 HGCMFunctionParameter add_attributes; 1065 /** Directory reading flags. */ 1064 /** Directory reading flags. 1065 * GSTCTL_PATH_F_ON_LINK or GSTCTL_PATH_F_FOLLOW_LINK. */ 1066 1066 HGCMFunctionParameter flags; 1067 1067 } HGCMMsgDirRead; … … 1708 1708 1709 1709 /** 1710 * General guest directorynotification callback.1711 */ 1712 typedef struct CALLBACKDATA_ DIR_NOTIFY1710 * General guest file notification callback. 1711 */ 1712 typedef struct CALLBACKDATA_FILE_NOTIFY 1713 1713 { 1714 1714 /** Callback data header. */ … … 1722 1722 struct 1723 1723 { 1724 /** Pointer to directory information. */1725 PGSTCTLFSOBJINFO pObjInfo;1726 } info;1727 struct1728 {1729 /** Guest directory handle. */1730 uint32_t uHandle;1731 } open;1732 /** Note: Close does not have any additional data (yet). */1733 struct1734 {1735 /** Size (in bytes) of directory entry information. */1736 uint32_t cbEntry;1737 /** Pointer to directory entry information. */1738 GSTCTLDIRENTRYEX *pEntry;1739 } read;1740 } u;1741 } CALLBACKDATA_DIR_NOTIFY, *PCALLBACKDATA_DIR_NOTIFY;1742 1743 /**1744 * General guest file notification callback.1745 */1746 typedef struct CALLBACKDATA_FILE_NOTIFY1747 {1748 /** Callback data header. */1749 CALLBACKDATA_HEADER hdr;1750 /** Notification type. */1751 uint32_t uType;1752 /** IPRT result of overall operation. */1753 uint32_t rc;1754 union1755 {1756 struct1757 {1758 1724 /** Guest file handle. */ 1759 1725 uint32_t uHandle;
Note:
See TracChangeset
for help on using the changeset viewer.