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:
authorDmitrijs Goloscapovs <dmitrijs.goloscapovs@zabbix.com>2021-10-29 14:30:30 +0300
committerDmitrijs Goloscapovs <dmitrijs.goloscapovs@zabbix.com>2021-10-29 14:33:06 +0300
commit2a632ddd0421572ef6a72a8a215f47b8869aa21f (patch)
treed03c556767c18f3d08c25d0d2f3c0a2a961c9901 /include/zbxhistory.h
parenta82212f007d76702ebfce87303660cc53f2226d0 (diff)
........S. [ZBXNEXT-6921] refactored flush return code
Diffstat (limited to 'include/zbxhistory.h')
-rw-r--r--include/zbxhistory.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/zbxhistory.h b/include/zbxhistory.h
index 97f1fc2eaf0..a0cb33af01b 100644
--- a/include/zbxhistory.h
+++ b/include/zbxhistory.h
@@ -61,6 +61,8 @@ int zbx_history_get_values(zbx_uint64_t itemid, int value_type, int start, int c
int zbx_history_requires_trends(int value_type);
void zbx_history_check_version(struct zbx_json *json);
-#define HIST_DUP_REJECTED -2
+#define FLUSH_SUCCEED 0
+#define FLUSH_FAIL -1
+#define FLUSH_DUPL_REJECTED -2
#endif