Changeset 92707 in vbox for trunk/include/VBox
- Timestamp:
- Dec 2, 2021 1:14:23 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/GuestHost/GuestControl.h
r84816 r92707 62 62 PROC_STS_ERROR = 8 63 63 }; 64 65 /** @todo r=bird: Most defines in this file needs to be scoped a little 66 * better! For instance INPUT_FLAG_NONE is very generic. */ 67 64 68 65 /** 69 66 * Input flags, set by the host. This is needed for … … 71 68 * Note: Has to match Main's ProcessInputFlag_* flags! 72 69 */ 73 #define INPUT_FLAG_NONE 0x074 #define INPUT_FLAG_EOF RT_BIT(0)70 #define GUEST_PROC_IN_FLAG_NONE 0x0 71 #define GUEST_PROC_IN_FLAG_EOF RT_BIT(0) 75 72 76 73 /** … … 97 94 /** @} */ 98 95 99 /** @name EXECUTEPROCESSFLAG_XXX - Guest process creation flags.96 /** @name GUEST_PROC_CREATE_FLAG_XXX - Guest process creation flags. 100 97 * @note Has to match Main's ProcessCreateFlag_* flags! 101 98 * @{ 102 99 */ 103 #define EXECUTEPROCESSFLAG_NONE UINT32_C(0x0)104 #define EXECUTEPROCESSFLAG_WAIT_START RT_BIT(0)105 #define EXECUTEPROCESSFLAG_IGNORE_ORPHANED RT_BIT(1)106 #define EXECUTEPROCESSFLAG_HIDDEN RT_BIT(2)107 #define EXECUTEPROCESSFLAG_PROFILE RT_BIT(3)108 #define EXECUTEPROCESSFLAG_WAIT_STDOUT RT_BIT(4)109 #define EXECUTEPROCESSFLAG_WAIT_STDERR RT_BIT(5)110 #define EXECUTEPROCESSFLAG_EXPAND_ARGUMENTS RT_BIT(6)111 #define EXECUTEPROCESSFLAG_UNQUOTED_ARGS RT_BIT(7)112 /** @} */ 113 114 /** @name OUTPUT_HANDLE_ID_XXX - Pipe handle IDs used internally for referencing100 #define GUEST_PROC_CREATE_FLAG_NONE UINT32_C(0x0) 101 #define GUEST_PROC_CREATE_FLAG_WAIT_START RT_BIT(0) 102 #define GUEST_PROC_CREATE_FLAG_IGNORE_ORPHANED RT_BIT(1) 103 #define GUEST_PROC_CREATE_FLAG_HIDDEN RT_BIT(2) 104 #define GUEST_PROC_CREATE_FLAG_PROFILE RT_BIT(3) 105 #define GUEST_PROC_CREATE_FLAG_WAIT_STDOUT RT_BIT(4) 106 #define GUEST_PROC_CREATE_FLAG_WAIT_STDERR RT_BIT(5) 107 #define GUEST_PROC_CREATE_FLAG_EXPAND_ARGUMENTS RT_BIT(6) 108 #define GUEST_PROC_CREATE_FLAG_UNQUOTED_ARGS RT_BIT(7) 109 /** @} */ 110 111 /** @name GUEST_PROC_OUT_H_XXX - Pipe handle IDs used internally for referencing 115 112 * to a certain pipe buffer. 116 113 * @{ 117 114 */ 118 #define OUTPUT_HANDLE_ID_STDOUT_DEPRECATED 0 /**< Needed for VBox hosts < 4.1.0. */119 #define OUTPUT_HANDLE_ID_STDOUT 1120 #define OUTPUT_HANDLE_ID_STDERR 2115 #define GUEST_PROC_OUT_H_STDOUT_DEPRECATED 0 /**< Needed for VBox hosts < 4.1.0. */ 116 #define GUEST_PROC_OUT_H_STDOUT 1 117 #define GUEST_PROC_OUT_H_STDERR 2 121 118 /** @} */ 122 119 … … 135 132 /** @} */ 136 133 137 /** @name SHUTDOWN_FLAG_XXX - Guest shutdown flags.134 /** @name GUEST_SHUTDOWN_FLAG_XXX - Guest shutdown flags. 138 135 * Must match Main's GuestShutdownFlag_ definitions. 139 136 * @{ 140 137 */ 141 #define SHUTDOWN_FLAG_NONEUINT32_C(0)142 #define SHUTDOWN_FLAG_POWER_OFFRT_BIT(0)143 #define SHUTDOWN_FLAG_REBOOTRT_BIT(1)144 #define SHUTDOWN_FLAG_FORCERT_BIT(2)138 #define GUEST_SHUTDOWN_FLAG_NONE UINT32_C(0) 139 #define GUEST_SHUTDOWN_FLAG_POWER_OFF RT_BIT(0) 140 #define GUEST_SHUTDOWN_FLAG_REBOOT RT_BIT(1) 141 #define GUEST_SHUTDOWN_FLAG_FORCE RT_BIT(2) 145 142 /** @} */ 146 143 … … 150 147 * @{ 151 148 */ 152 #define GUEST PROCESS_DEFAULT_CMD_LEN _1K153 #define GUEST PROCESS_DEFAULT_ARGS_LEN _1K154 #define GUEST PROCESS_DEFAULT_ENV_LEN _1K155 #define GUEST PROCESS_DEFAULT_USER_LEN 128156 #define GUEST PROCESS_DEFAULT_PASSWORD_LEN 128157 #define GUEST PROCESS_DEFAULT_DOMAIN_LEN 256149 #define GUEST_PROC_DEF_CMD_LEN _1K 150 #define GUEST_PROC_DEF_ARGS_LEN _1K 151 #define GUEST_PROC_DEF_ENV_LEN _1K 152 #define GUEST_PROC_DEF_USER_LEN 128 153 #define GUEST_PROC_DEF_PASSWORD_LEN 128 154 #define GUEST_PROC_DEF_DOMAIN_LEN 256 158 155 /** @} */ 159 156 … … 161 158 * @{ 162 159 */ 163 #define GUEST PROCESS_MAX_CMD_LEN _1M164 #define GUEST PROCESS_MAX_ARGS_LEN _2M165 #define GUEST PROCESS_MAX_ENV_LEN _4M166 #define GUEST PROCESS_MAX_USER_LEN _64K167 #define GUEST PROCESS_MAX_PASSWORD_LEN _64K168 #define GUEST PROCESS_MAX_DOMAIN_LEN _64K160 #define GUEST_PROC_MAX_CMD_LEN _1M 161 #define GUEST_PROC_MAX_ARGS_LEN _2M 162 #define GUEST_PROC_MAX_ENV_LEN _4M 163 #define GUEST_PROC_MAX_USER_LEN _64K 164 #define GUEST_PROC_MAX_PASSWORD_LEN _64K 165 #define GUEST_PROC_MAX_DOMAIN_LEN _64K 169 166 /** @} */ 170 167
Note:
See TracChangeset
for help on using the changeset viewer.