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-03-22 22:59:18 +0300
committerAndris Zeila <andris.zeila@zabbix.com>2021-03-22 23:00:12 +0300
commit0d7039c5dbf1197608c9acd0c8132eb820564ef8 (patch)
tree45cb4422d79b3a0103f3f8bb7cd98b2449d1bac3 /include/zbxeval.h
parentc474b413fb1568c445aa2a87f32a92af0b0e135b (diff)
........S. [ZBXNEXT-6451] added support of compound numbers, allowing for mix of macros and digits
Diffstat (limited to 'include/zbxeval.h')
-rw-r--r--include/zbxeval.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/zbxeval.h b/include/zbxeval.h
index 7a23a645697..85d7f6fee2d 100644
--- a/include/zbxeval.h
+++ b/include/zbxeval.h
@@ -69,7 +69,7 @@
#define ZBX_EVAL_TOKEN_GROUP_CLOSE (25 | ZBX_EVAL_CLASS_OPERAND)
#define ZBX_EVAL_TOKEN_COMMA (26 | ZBX_EVAL_CLASS_SEPARATOR)
#define ZBX_EVAL_TOKEN_ARG_QUERY (27 | ZBX_EVAL_CLASS_OPERAND)
-#define ZBX_EVAL_TOKEN_ARG_TIME (28 | ZBX_EVAL_CLASS_OPERAND)
+#define ZBX_EVAL_TOKEN_ARG_PERIOD (28 | ZBX_EVAL_CLASS_OPERAND)
#define ZBX_EVAL_TOKEN_ARG_NULL (29 | ZBX_EVAL_CLASS_OPERAND)
#define ZBX_EVAL_TOKEN_ARG_RAW (30 | ZBX_EVAL_CLASS_OPERAND)
#define ZBX_EVAL_TOKEN_EXCEPTION (31 | ZBX_EVAL_CLASS_FUNCTION)
@@ -83,6 +83,7 @@
#define ZBX_EVAL_PARSE_ITEM_QUERY __UINT64_C(0x0010)
#define ZBX_EVAL_PARSE_FUNCTION __UINT64_C(0x0020)
#define ZBX_EVAL_PARSE_CONST_INDEX __UINT64_C(0x0040)
+#define ZBX_EVAL_PARSE_COMPOUND_CONST __UINT64_C(0x0080)
#define ZBX_EVAL_PARSE_TRIGGER_EXPRESSSION (ZBX_EVAL_PARSE_MACRO | ZBX_EVAL_PARSE_USERMACRO | \
ZBX_EVAL_PARSE_FUNCTIONID | ZBX_EVAL_PARSE_FUNCTION)