From: VMware, Inc <> Date: Mon, 22 Mar 2010 22:14:59 +0000 (-0700) Subject: Changes in shared code that don't affect open-vm-tools functionality. X-Git-Tag: 2010.03.20-243334~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6daa37f55a74492d9239cc85456f2e757b4c74cf;p=thirdparty%2Fopen-vm-tools.git Changes in shared code that don't affect open-vm-tools functionality. Signed-off-by: Marcelo Vanzin --- diff --git a/open-vm-tools/lib/include/vm_product.h b/open-vm-tools/lib/include/vm_product.h index 600f6ac58..88b43cf62 100644 --- a/open-vm-tools/lib/include/vm_product.h +++ b/open-vm-tools/lib/include/vm_product.h @@ -222,6 +222,18 @@ PRODUCT_VMRC_PLUGIN_CURRENT_MIMETYPE PRODUCT_VMRC_MIMETYPE_SEPARATOR \ PRODUCT_VMRC_PLUGIN_PREVIOUS_MIMETYPES PRODUCT_VMRC_MIMETYPE_TERMINATOR +/* + * VMware USB Arbitration Service version definitions + */ + +#define PRODUCT_USB_ARBITRATOR_SHORT_NAME "vmware-usbarbitrator" +#define PRODUCT_USB_ARBITRATOR_NAME MAKE_NAME("USB Arbitration Service") +#ifdef _WIN32 +#define PRODUCT_USB_ARBITRATOR_EXECUTABLE PRODUCT_GENERIC_NAME_LOWER "-usbarbitrator.exe" +#else +#define PRODUCT_USB_ARBITRATOR_EXECUTABLE PRODUCT_GENERIC_NAME_LOWER "-usbarbitrator" +#endif + /* * TODO: This properly lives in productState, but we need it here to * define DEFAULT_LIBDIRECTORY. If that can be moved to productState, diff --git a/open-vm-tools/lib/include/vm_version.h b/open-vm-tools/lib/include/vm_version.h index cfe8bf31a..d378d64ac 100644 --- a/open-vm-tools/lib/include/vm_version.h +++ b/open-vm-tools/lib/include/vm_version.h @@ -255,6 +255,16 @@ */ #define TOOLS_VERSION TOOLS_VERSION_CURRENT_STR +/* + * USB Arbitrator Component version. This encompasses the USB Arbitrator, hcmon, and + * vmusb. This is used by the installer to determine if an upgrade should take place. The + * major version should be bumped with every major hosted release (and the minor to 0) + * while the minor version should be bumped with each change affecting the USB Arbitrator. + * + * Currently set to 2.x for the hosted10 branch. + */ +#define USB_ARBITRATOR_COMPONENT_VERSION_NUMBER "2.0" + #ifdef VMX86_VPX #define VIM_API_TYPE "VirtualCenter" #else