Changeset 99085 in vbox for trunk/include/VBox/HostServices/GuestControlSvc.h
- Timestamp:
- Mar 21, 2023 12:15:00 PM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 156450
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/HostServices/GuestControlSvc.h
r98824 r99085 232 232 */ 233 233 HOST_MSG_DIR_CREATE = 314, 234 /** 235 * Lists one or multiple directory entries at once. 236 * 237 * @since 7.1 238 */ 239 HOST_MSG_DIR_LIST = 315, 234 240 #endif /* VBOX_WITH_GSTCTL_TOOLBOX_AS_CMDS */ 235 241 /** … … 302 308 RT_CASE_RET_STR(HOST_MSG_DIR_REWIND); 303 309 RT_CASE_RET_STR(HOST_MSG_DIR_CREATE); 310 RT_CASE_RET_STR(HOST_MSG_DIR_LIST); 304 311 #endif /* VBOX_WITH_GSTCTL_TOOLBOX_AS_CMDS */ 305 312 RT_CASE_RET_STR(HOST_MSG_DIR_REMOVE); … … 729 736 /** Guest directory was rewind. */ 730 737 GUEST_DIR_NOTIFYTYPE_REWIND = 22, 738 /** Guest directory listing. */ 739 GUEST_DIR_NOTIFYTYPE_LIST = 23, 731 740 #endif 732 741 /** Information about an open guest directory. */ … … 1092 1101 HGCMFunctionParameter flags; 1093 1102 } HGCMMsgDirCreate; 1103 1104 /** 1105 * Lists the entries of a directory on the guest. 1106 */ 1107 typedef struct HGCMMsgDirList 1108 { 1109 VBGLIOCHGCMCALL hdr; 1110 /** Context ID. */ 1111 HGCMFunctionParameter context; 1112 /** Handle of directory listing to list. */ 1113 HGCMFunctionParameter handle; 1114 /** Number of entries to read at once. 1115 * Specify UINT32_MAX to read as much as possible. 0 is not allowed. */ 1116 HGCMFunctionParameter num_entries; 1117 /** Listing flags (GSTCTL_DIRLIST_F_XXX). */ 1118 HGCMFunctionParameter flags; 1119 } HGCMMsgDirList; 1094 1120 #endif /* VBOX_WITH_GSTCTL_TOOLBOX_AS_CMDS */ 1095 1121 … … 1528 1554 { 1529 1555 /** 1530 * Parameters used for \a type GUEST_DIR_NOTIFYTYPE_OPEN.1556 * Parameters used for \a reply_hdr.type GUEST_DIR_NOTIFYTYPE_OPEN. 1531 1557 * 1532 1558 * @since 7.1 … … 1538 1564 } open; 1539 1565 /** 1540 * Parameters used for \a type GUEST_DIR_NOTIFYTYPE_READ.1566 * Parameters used for \a reply_hdr.type GUEST_DIR_NOTIFYTYPE_READ. 1541 1567 * 1542 1568 * @since 7.1 … … 1550 1576 /** Resolved group IDs as a string. 1551 1577 * 1552 * Multiple groups are delimited by "\r\n", whereas1578 * Multiple groups are delimited by GSTCTL_DIRENTRY_GROUPS_DELIMITER_STR, whereas 1553 1579 * the first group always is the primary group. */ 1554 1580 HGCMFunctionParameter groups; 1555 1581 } read; 1582 /** 1583 * Parameters used for \a reply_hdr.type GUEST_DIR_NOTIFYTYPE_LIST. 1584 * 1585 * @since 7.1 1586 */ 1587 struct 1588 { 1589 /** Number of entries in \a buffer. */ 1590 HGCMFunctionParameter num_entries; 1591 /** Buffer containing the GSTCTLDIRENTRYEX entries, immediately followed 1592 * by resolved user + groups as a string (empty strings if not resolved). 1593 * 1594 * Only will be sent if \a num_entries > 0. */ 1595 HGCMFunctionParameter buffer; 1596 } list; 1556 1597 } u; 1557 1598 } HGCMReplyDirNotify; … … 1582 1623 /** Resolved group IDs as a string. 1583 1624 * 1584 * Multiple groups are delimited by "\r\n", whereas1625 * Multiple groups are delimited by GSTCTL_DIRENTRY_GROUPS_DELIMITER_STR, whereas 1585 1626 * the first group always is the primary group. */ 1586 1627 HGCMFunctionParameter groups;
Note:
See TracChangeset
for help on using the changeset viewer.