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-13 11:41:50 +0300
committerAndris Zeila <andris.zeila@zabbix.com>2021-04-13 11:41:50 +0300
commit0ba133694812ce2e585405fbd30748503f0bde2a (patch)
treeb59c19b919391c3c71ffb0f7fe54588f5ff8b2a5 /include/zbxeval.h
parent3f5a5ff05b51000d7f66894a2d5759d81cf95563 (diff)
parent8ab856e081ff677445032bf8ea297af5fda366e9 (diff)
.......... [ZBXNEXT-6457] merged branch 'feature/ZBXNEXT-6451-5.3' into feature/ZBXNEXT-6457-5.3
Diffstat (limited to 'include/zbxeval.h')
-rw-r--r--include/zbxeval.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/zbxeval.h b/include/zbxeval.h
index e912b0e521f..8d6f4284550 100644
--- a/include/zbxeval.h
+++ b/include/zbxeval.h
@@ -91,6 +91,8 @@
ZBX_EVAL_PARSE_ITEM_QUERY | ZBX_EVAL_PARSE_FUNCTION | \
ZBX_EVAL_PARSE_COMPOUND_CONST)
+#define ZBX_EVAL_PARSE_EXPRESSION_MACRO (ZBX_EVAL_PARSE_USERMACRO | ZBX_EVAL_PARSE_ITEM_QUERY | \
+ ZBX_EVAL_PARSE_FUNCTION | ZBX_EVAL_PARSE_COMPOUND_CONST)
/* expression composition rules */
#define ZBX_EVAL_COMPOSE_LLD __UINT64_C(0x00010000)
@@ -115,6 +117,9 @@
ZBX_EVAL_PARSE_LLDMACRO | \
ZBX_EVAL_COMPOSE_LLD)
+#define ZBX_EVAL_EXPRESSION_MACRO_LLD (ZBX_EVAL_PARSE_EXPRESSION_MACRO | \
+ ZBX_EVAL_PARSE_LLDMACRO | \
+ ZBX_EVAL_COMPOSE_LLD)
typedef zbx_uint32_t zbx_token_type_t;