diff options
author | Dmitrijs Goloscapovs <dmitrijs.goloscapovs@zabbix.com> | 2021-10-29 18:17:39 +0300 |
---|---|---|
committer | Dmitrijs Goloscapovs <dmitrijs.goloscapovs@zabbix.com> | 2021-10-29 18:25:56 +0300 |
commit | 3e067a0c24b3558b496abf6db732aacfead6249c (patch) | |
tree | 42b583abab4ce636db0cc22eb67269387734bfd5 /include/zbxhistory.h | |
parent | cd0da3b704a2e795a9f16b1deb03bbcb9d5fa2f2 (diff) |
........S. [ZBXNEXT-6921] refactored flush code retuning
(cherry picked from commit 2e46df8ae88e5cb6173ed172491ebf93cd9cff77)
Diffstat (limited to 'include/zbxhistory.h')
-rw-r--r-- | include/zbxhistory.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/zbxhistory.h b/include/zbxhistory.h index 08118788f45..b536cb125eb 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 FLUSH_DUPL_REJECTED 1 +#define FLUSH_SUCCEED 0 +#define FLUSH_FAIL -1 +#define FLUSH_DUPL_REJECTED -2 #endif |