]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Common header file change not directly applicable to open-vm-tools.
authorJohn Wolfe <jwolfe@vmware.com>
Tue, 4 May 2021 02:39:40 +0000 (19:39 -0700)
committerJohn Wolfe <jwolfe@vmware.com>
Tue, 4 May 2021 02:39:40 +0000 (19:39 -0700)
open-vm-tools/lib/include/conf.h

index bdbfc605acce0899336a42fe2ff6843a50e4f0c9..766b542214a92d2db8c6df84d13de65a23a4f124 100644 (file)
  */
 
 
+/*
+ ******************************************************************************
+ * BEGIN GlobalConf goodies.
+ */
+
+/**
+ * Defines the string used for the GlobalConf config file group.
+ */
+#define CONFGROUPNAME_GLOBALCONF "globalconf"
+
+/**
+ * Defines the configuration to enable/disable the GlobalConf module.
+ *
+ * @note Illegal values result in @c g_warning and fallback to the default
+ * value.
+ *
+ * @param boolean Set to TRUE to enable the module.
+ *                Set to FALSE to disable the module.
+ */
+#define CONFNAME_GLOBALCONF_ENABLED "enabled"
+
+/**
+ * Define a custom GlobalConf poll interval (in seconds).
+ *
+ * @note Illegal values result in @c g_warning and fallback to the default
+ * value.
+ *
+ * @param int   User-defined poll interval.
+ */
+#define CONFNAME_GLOBALCONF_POLL_INTERVAL "poll-interval"
+
+/**
+ * Define the global configuration resource in GuestStore.
+ *
+ * @note Illegal values result in @c g_warning and fallback to the default
+ * value.
+ *
+ * @param string   Resource identifier in GuestStore.
+ */
+#define CONFNAME_GLOBALCONF_RESOURCE "resource"
+
+/*
+ * END GlobalConf goodies.
+ ******************************************************************************
+ */
+
+
 /*
  ******************************************************************************
  * BEGIN GuestInfo goodies.