diff options
author | Andris Zeila <andris.zeila@zabbix.com> | 2021-03-14 14:45:05 +0300 |
---|---|---|
committer | Andris Zeila <andris.zeila@zabbix.com> | 2021-03-14 14:45:05 +0300 |
commit | 19d77616d3a5e14ab47b789b3c932a5eb6c9cdeb (patch) | |
tree | 510f227a7ccf3ed973534fdfcd37808b074a80de /include/zbxeval.h | |
parent | 2981784742c230206e34e0f2dbccc4279e9dcdf6 (diff) |
........S. [ZBXNEXT-6457] changed calculated item evaluation to support new expression syntax
Diffstat (limited to 'include/zbxeval.h')
-rw-r--r-- | include/zbxeval.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/zbxeval.h b/include/zbxeval.h index 395ba27ba90..85740aed066 100644 --- a/include/zbxeval.h +++ b/include/zbxeval.h @@ -124,6 +124,7 @@ typedef zbx_uint32_t zbx_token_type_t; * args_num - [IN] the number of function arguments * * args - [IN] an array of the function arguments. * * data - [IN] the caller data used for function evaluation * + * ts - [IN] the function execution time * * value - [OUT] the function return value * * error - [OUT] the error message if function failed * * * @@ -132,7 +133,7 @@ typedef zbx_uint32_t zbx_token_type_t; * * ******************************************************************************/ typedef int (*zbx_eval_function_cb_t)(const char *name, size_t len, int args_num, const zbx_variant_t *args, - void *data, zbx_variant_t *value, char **error); + void *data, const zbx_timespec_t *ts, zbx_variant_t *value, char **error); typedef struct { |