summaryrefslogtreecommitdiffstats
path: root/include/common.h
diff options
context:
space:
mode:
authoralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-03-06 11:43:10 +0000
committeralex <alex@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-03-06 11:43:10 +0000
commit9ef27a42a050c16a0e76757507d922b5798eb2ef (patch)
treecaa5f7cc29923f62fc9a408c6143f370c2c83804 /include/common.h
parent9fcb201d990fc2305ce26a8f36a92a7227e27d0a (diff)
downloadzabbix-9ef27a42a050c16a0e76757507d922b5798eb2ef.tar.gz
zabbix-9ef27a42a050c16a0e76757507d922b5798eb2ef.tar.xz
zabbix-9ef27a42a050c16a0e76757507d922b5798eb2ef.zip
- added actions.evaltype (Alexei)
- added support of all AND, all OR and AND/OR action conditions (Alexei) git-svn-id: svn://svn.zabbix.com/trunk@3870 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'include/common.h')
-rw-r--r--include/common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index 64f8e7bc..dadc78e1 100644
--- a/include/common.h
+++ b/include/common.h
@@ -155,6 +155,14 @@ typedef enum
/* Condition types */
typedef enum
{
+ ACTION_EVAL_TYPE_AND_OR = 0,
+ ACTION_EVAL_TYPE_AND,
+ ACTION_EVAL_TYPE_OR,
+} zbx_action_eval_type_t;
+
+/* Condition types */
+typedef enum
+{
CONDITION_TYPE_HOST_GROUP = 0,
CONDITION_TYPE_HOST,
CONDITION_TYPE_TRIGGER,