summaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/common.h b/src/common.h
index 51d2bba55..667fe9d76 100644
--- a/src/common.h
+++ b/src/common.h
@@ -203,10 +203,21 @@
#define NETDATA_OS_TYPE "linux"
#endif /* __FreeBSD__, __APPLE__*/
-#include "statistical.h"
-#include "socket.h"
+typedef enum rrdcalc_status {
+ RRDCALC_STATUS_REMOVED = -2,
+ RRDCALC_STATUS_UNDEFINED = -1,
+ RRDCALC_STATUS_UNINITIALIZED = 0,
+ RRDCALC_STATUS_CLEAR = 1,
+ RRDCALC_STATUS_RAISED = 2,
+ RRDCALC_STATUS_WARNING = 3,
+ RRDCALC_STATUS_CRITICAL = 4
+} RRDCALC_STATUS;
+
#include "eval.h"
#include "health.h"
+
+#include "statistical.h"
+#include "socket.h"
#include "rrd.h"
#include "plugin_tc.h"
#include "plugins_d.h"
@@ -232,12 +243,14 @@
extern char *netdata_configured_hostname;
extern char *netdata_configured_config_dir;
extern char *netdata_configured_log_dir;
+extern char *netdata_configured_plugins_dir_base;
extern char *netdata_configured_plugins_dir;
extern char *netdata_configured_web_dir;
extern char *netdata_configured_cache_dir;
extern char *netdata_configured_varlib_dir;
extern char *netdata_configured_home_dir;
extern char *netdata_configured_host_prefix;
+extern char *netdata_configured_timezone;
extern void netdata_fix_chart_id(char *s);
extern void netdata_fix_chart_name(char *s);