diff options
author | Andris Zeila <andris.zeila@zabbix.com> | 2018-02-02 17:49:53 +0300 |
---|---|---|
committer | Andris Zeila <andris.zeila@zabbix.com> | 2018-02-02 17:49:53 +0300 |
commit | 2f7143f98e38600ca0bf4272bfdfd5e672ba1d8e (patch) | |
tree | ee4f0b25750e41d549bc93d2923a7e9f73a46852 /include/zbxhistory.h | |
parent | fd305b24e521bb24088c97840da425a01f9158de (diff) |
........S. [ZBX-12390] add nanosecond resolution to valuecache requests and update test cases
Diffstat (limited to 'include/zbxhistory.h')
-rw-r--r-- | include/zbxhistory.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/zbxhistory.h b/include/zbxhistory.h index d2078af31c8..568dbdfc3c6 100644 --- a/include/zbxhistory.h +++ b/include/zbxhistory.h @@ -34,6 +34,9 @@ void zbx_history_record_vector_clean(zbx_vector_history_record_t *vector, int va void zbx_history_record_vector_destroy(zbx_vector_history_record_t *vector, int value_type); void zbx_history_record_clear(zbx_history_record_t *value, int value_type); +int zbx_history_record_compare_asc_func(const zbx_history_record_t *d1, const zbx_history_record_t *d2); +int zbx_history_record_compare_desc_func(const zbx_history_record_t *d1, const zbx_history_record_t *d2); + void zbx_history_value2str(char *buffer, size_t size, const history_value_t *value, int value_type); /* In most cases zbx_history_record_vector_destroy() function should be used to free the */ |