summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-12-28 13:05:47 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-12-28 13:05:47 +0000
commit28100b5fc0c596909af375adc57ec8824afcced4 (patch)
tree7d23cedd52a71e3da840fa5460fbcf15bf9af98d /include
parentdf8935233f676390da5d1f4a21a9a00431c0c2d5 (diff)
More support of new action schema.
git-svn-id: svn://svn.zabbix.com/trunk@2437 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'include')
-rw-r--r--include/common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/common.h b/include/common.h
index afc3874d..75e83935 100644
--- a/include/common.h
+++ b/include/common.h
@@ -171,6 +171,14 @@
#define CONDITION_TYPE_TRIGGER_VALUE 5
#define CONDITION_TYPE_TIME_PERIOD 6
+/* Condition operators */
+#define CONDITION_OPERATOR_EQUAL 0
+#define CONDITION_OPERATOR_NOT_EQUAL 1
+#define CONDITION_OPERATOR_LIKE 2
+#define CONDITION_OPERATOR_NOT_LIKE 3
+#define CONDITION_OPERATOR_IN 4
+#define CONDITION_OPERATOR_MORE_EQUAL 5
+
/* Escalation actions */
#define ESCALATION_ACTION_NOTHING 0
#define ESCALATION_ACTION_EXEC_ACTION 1