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:
authorAndris Zeila <andris.zeila@zabbix.com>2021-04-12 15:36:45 +0300
committerAndris Zeila <andris.zeila@zabbix.com>2021-04-12 15:37:20 +0300
commitb3d03b8df55767fc41c66a07b6db0a7054497bdd (patch)
tree9ef8b29546258e9d2ca17af9acbdbad8032e5671 /include/dbcache.h
parent54398cf5ee892f5dfce1b01f85963c6daac2cfa9 (diff)
........S. [ZBXNEXT-6451] copied libzxbeval from the calculated item branch, added macro expression evaluation
Diffstat (limited to 'include/dbcache.h')
-rw-r--r--include/dbcache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/dbcache.h b/include/dbcache.h
index 41bba8facc9..3aacdd44a13 100644
--- a/include/dbcache.h
+++ b/include/dbcache.h
@@ -975,6 +975,9 @@ const char *zbx_dc_get_instanceid(void);
char *zbx_dc_expand_user_macros(const char *text, zbx_uint64_t hostid);
char *zbx_dc_expand_user_macros_in_func_params(const char *params, zbx_uint64_t hostid);
+int zbx_dc_expand_user_macros_len(const char *text, size_t text_len, zbx_uint64_t *hostids, int hostids_num,
+ char **value, char **error);
+
/* diagnostic data */
void zbx_hc_get_diag_stats(zbx_uint64_t *items_num, zbx_uint64_t *values_num);