Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'include/zbxhistory.h')
-rw-r--r--include/zbxhistory.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/zbxhistory.h b/include/zbxhistory.h
index e5407471841..ce2b7097d31 100644
--- a/include/zbxhistory.h
+++ b/include/zbxhistory.h
@@ -67,4 +67,18 @@ void zbx_history_check_version(struct zbx_json *json, int *result);
#define FLUSH_FAIL -1
#define FLUSH_DUPL_REJECTED -2
+typedef struct
+{
+ zbx_uint64_t itemid;
+ history_value_t value;
+ zbx_uint64_t lastlogsize;
+ zbx_timespec_t ts;
+ int mtime;
+ unsigned char value_type;
+ unsigned char flags; /* see ZBX_DC_FLAG_* */
+ unsigned char state;
+ int ttl; /* time-to-live of the history value */
+}
+ZBX_DC_HISTORY;
+
#endif