From: John Wolfe Date: Tue, 4 May 2021 02:39:40 +0000 (-0700) Subject: Common header file change not directly applicable to open-vm-tools. X-Git-Tag: stable-11.3.0~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09b035ad85475df08cd9bae8cc2d7aea6d8f0ffe;p=thirdparty%2Fopen-vm-tools.git Common header file change not directly applicable to open-vm-tools. --- diff --git a/open-vm-tools/lib/include/conf.h b/open-vm-tools/lib/include/conf.h index bdbfc605a..766b54221 100644 --- a/open-vm-tools/lib/include/conf.h +++ b/open-vm-tools/lib/include/conf.h @@ -205,6 +205,53 @@ */ +/* + ****************************************************************************** + * 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.