diff options
author | Andris Zeila <andris.zeila@zabbix.com> | 2021-03-12 18:02:56 +0300 |
---|---|---|
committer | Andris Zeila <andris.zeila@zabbix.com> | 2021-03-12 18:03:30 +0300 |
commit | 545ac6a4663d53620687c95fdff091cac2702a34 (patch) | |
tree | 5347c9178616c1ee6d1c674ff6085b470c73a21e /include/zbxeval.h | |
parent | 50e1d69eb12520a6b6391f232b50601c9444bdc9 (diff) |
........S. [ZBXNEXT-6451] fixed check for time based function usage in trigger expression
Diffstat (limited to 'include/zbxeval.h')
-rw-r--r-- | include/zbxeval.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/zbxeval.h b/include/zbxeval.h index 7a23a645697..108dfbb2c50 100644 --- a/include/zbxeval.h +++ b/include/zbxeval.h @@ -189,6 +189,8 @@ zbx_eval_context_t *zbx_eval_deserialize_dyn(const unsigned char *data, const ch int zbx_eval_check_timer_functions(const zbx_eval_context_t *ctx); void zbx_get_serialized_expression_functionids(const char *expression, const unsigned char *data, zbx_vector_uint64_t *functionids); +int zbx_check_serialized_expression_function(const char *expression, const unsigned char *data, + const char **functions); void zbx_eval_get_constant(const zbx_eval_context_t *ctx, int index, char **value); void zbx_eval_replace_functionid(zbx_eval_context_t *ctx, zbx_uint64_t old_functionid, zbx_uint64_t new_functionid); int zbx_eval_validate_replaced_functionids(zbx_eval_context_t *ctx, char **error); |