summaryrefslogtreecommitdiffstats
path: root/aclk/aclk_rrdhost_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'aclk/aclk_rrdhost_state.h')
-rw-r--r--aclk/aclk_rrdhost_state.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/aclk/aclk_rrdhost_state.h b/aclk/aclk_rrdhost_state.h
new file mode 100644
index 0000000..5c8a2dd
--- /dev/null
+++ b/aclk/aclk_rrdhost_state.h
@@ -0,0 +1,11 @@
+#ifndef ACLK_RRDHOST_STATE_H
+#define ACLK_RRDHOST_STATE_H
+
+#include "libnetdata/libnetdata.h"
+
+typedef struct aclk_rrdhost_state {
+ char *claimed_id; // Claimed ID if host has one otherwise NULL
+ char *prev_claimed_id; // Claimed ID if changed (reclaimed) during runtime
+} aclk_rrdhost_state;
+
+#endif /* ACLK_RRDHOST_STATE_H */