diff options
Diffstat (limited to 'daemon/common.h')
-rw-r--r-- | daemon/common.h | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/daemon/common.h b/daemon/common.h index dfbd6cfe..68af9574 100644 --- a/daemon/common.h +++ b/daemon/common.h @@ -8,7 +8,7 @@ // ---------------------------------------------------------------------------- // shortcuts for the default netdata configuration -#define config_load(filename, overwrite_used) appconfig_load(&netdata_config, filename, overwrite_used) +#define config_load(filename, overwrite_used, section) appconfig_load(&netdata_config, filename, overwrite_used, section) #define config_get(section, name, default_value) appconfig_get(&netdata_config, section, name, default_value) #define config_get_number(section, name, value) appconfig_get_number(&netdata_config, section, name, value) #define config_get_float(section, name, value) appconfig_get_float(&netdata_config, section, name, value) @@ -27,7 +27,6 @@ #define config_generate(buffer, only_changed) appconfig_generate(&netdata_config, buffer, only_changed) - // ---------------------------------------------------------------------------- // netdata include files @@ -51,6 +50,8 @@ // backends for archiving the metrics #include "backends/backends.h" +// the new exporting engine for archiving the metrics +#include "exporting/exporting_engine.h" // the netdata API #include "web/api/web_api_v1.h" @@ -61,10 +62,22 @@ // netdata unit tests #include "unit_test.h" +// netdata agent claiming +#include "claim/claim.h" + +// netdata agent cloud link +#include "aclk/legacy/agent_cloud_link.h" + +// global GUID map functions + +// netdata agent spawn server +#include "spawn/spawn.h" + // the netdata deamon #include "daemon.h" #include "main.h" #include "signals.h" +#include "commands.h" // global netdata daemon variables extern char *netdata_configured_hostname; @@ -75,12 +88,14 @@ extern char *netdata_configured_primary_plugins_dir; extern char *netdata_configured_web_dir; extern char *netdata_configured_cache_dir; extern char *netdata_configured_varlib_dir; +extern char *netdata_configured_lock_dir; extern char *netdata_configured_home_dir; extern char *netdata_configured_host_prefix; extern char *netdata_configured_timezone; extern int netdata_zero_metrics_enabled; extern int netdata_anonymous_statistics_enabled; -int netdata_ready; +extern int netdata_ready; +extern int netdata_cloud_setting; #endif /* NETDATA_COMMON_H */ |