]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
VMware Tools service discovery core plugin changes
authorOliver Kurth <okurth@vmware.com>
Tue, 17 Mar 2020 21:36:53 +0000 (14:36 -0700)
committerOliver Kurth <okurth@vmware.com>
Tue, 17 Mar 2020 21:36:53 +0000 (14:36 -0700)
First step in creating a new plugin to collect in-guest process related
data over Namespace DB.

open-vm-tools/lib/include/conf.h

index a0f2ea8bbafb8dad188da3e6f8f3bf1faea70581..cc92888fd815acbc1ac91efd7b9244ed5b36d232 100644 (file)
@@ -1,5 +1,5 @@
 /*********************************************************
- * Copyright (C) 2002-2019 VMware, Inc. All rights reserved.
+ * Copyright (C) 2002-2020 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
  ******************************************************************************
  */
 
+/*
+ ******************************************************************************
+ * BEGIN ServiceDiscovery goodies.
+ */
+
+/**
+ * Defines the string used for the ServiceDiscovery config file group.
+ */
+#define CONFGROUPNAME_SERVICEDISCOVERY "servicediscovery"
+
+/**
+ * Defines the configuration to perform service discovery or not.
+ *
+ * @note Illegal values result in a @c g_warning and fallback to the default
+ * value.
+ *
+ * @param boolean Set to TRUE to disable publishing.
+ *                Set to FALSE to enable publishing.
+ */
+#define CONFNAME_SERVICEDISCOVERY_DISABLED "disabled"
+
+/*
+ * END ServiceDiscovery goodies.
+ ******************************************************************************
+ */
+
 /*
 ******************************************************************************
 * BEGIN GuestStore upgrader goodies.