]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Common header file change not applicable to open-vm-tools.
authorOliver Kurth <okurth@vmware.com>
Tue, 19 Feb 2019 20:51:31 +0000 (12:51 -0800)
committerOliver Kurth <okurth@vmware.com>
Tue, 19 Feb 2019 20:51:31 +0000 (12:51 -0800)
open-vm-tools/lib/include/ghIntegrationCommon.h

index 3907f75732b963ad7d337aa8b5d313a263e0965d..b5af73074e4e549e3e2ba359b4d552d337e4eb77 100644 (file)
@@ -1,5 +1,5 @@
 /*********************************************************
- * Copyright (C) 2008-2018 VMware, Inc. All rights reserved.
+ * Copyright (C) 2008-2019 VMware, Inc. All rights reserved.
  *
  * This program is free software; you can redistribute it and/or modify it
  * under the terms of the GNU Lesser General Public License as published
 #define GHI_CHANNEL_DND                         3  // DnD for both local VM and View RMKS.
 #define GHI_CHANNEL_VIEW_REMOTE_RDE_COMMON      4  // VDPRdeCommonMKSControl module
                                                    // in View RMKS
-// VDPUsbRedirectionMKSControl module in View RMKS
-#define GHI_CHANNEL_VIEW_USB_REDIRECTION        5
-#define GHI_CHANNEL_MAX                         6
+#define GHI_CHANNEL_VIEW_USB_REDIRECTION        5  // VDPUsbRedirectionMKSControl module in
+                                                   // View RMKS
+#define GHI_CHANNEL_VIEW_REMOTE_VDP_COMMON      6  // Handled by View VDP core module
+#define GHI_CHANNEL_MAX                         7
 
 typedef uint32 GHIChannelType;
 
@@ -136,4 +137,29 @@ typedef uint32 GHIGuestToHostMessageType;
  */
 #define GHI_HOST_USB_REDIRECTION_STARTUSBD_CMD  "ghi.usb.redirection.startusbd"
 
+
+/*
+ * MKS->UI messages over GHI_CHANNEL_VIEW_REMOTE_VDP_COMMON.
+ */
+#define GHI_CHANNEL_VIEW_REMOTE_VDP_COMMON_BITS \
+           GHI_GUEST_CHANNEL_BITS(GHI_CHANNEL_VIEW_REMOTE_VDP_COMMON)
+#define GHI_GUEST_VDP_COMMON_CAP_FEATURES \
+           (GHI_CHANNEL_VIEW_REMOTE_VDP_COMMON_BITS | 0x000001)
+#define GHI_GUEST_VDP_COMMON_CAP_RECEIVED \
+           (GHI_CHANNEL_VIEW_REMOTE_VDP_COMMON_BITS | 0x000002)
+
+/*
+ * UI->MKS messages over GHI_CHANNEL_VIEW_REMOTE_VDP_COMMON.
+ */
+#define GHI_HOST_VDP_COMMON_SYNC_GUEST_LEDS_CMD  "ghi.mks.common.sync.guest.leds"
+#define GHI_HOST_VDP_COMMON_GET_GUEST_CAPS_CMD   "ghi.mks.common.get.guest.caps"
+
+/*
+ * Capabilities for the message GHI_GUEST_VDP_COMMON_CAP_FEATURES
+ */
+typedef enum {
+   VDP_COMMON_SET_KEYBOARD_STATE_CAP = 0,
+   VDP_COMMON_CAP_ITEM_COUNT
+} VDPCommonCapType;
+
 #endif // ifndef _GHINTEGRATIONCOMMON_H_