summaryrefslogtreecommitdiffstats
path: root/runtime/rule.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/rule.h')
-rw-r--r--runtime/rule.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/rule.h b/runtime/rule.h
index 2b585879..1b07279b 100644
--- a/runtime/rule.h
+++ b/runtime/rule.h
@@ -23,9 +23,10 @@
#ifndef INCLUDED_RULE_H
#define INCLUDED_RULE_H
+#include "libestr.h"
#include "linkedlist.h"
#include "regexp.h"
-#include "expr.h"
+#include "rainerscript.h"
/* the rule object */
struct rule_s {
@@ -47,8 +48,9 @@ struct rule_s {
cstr_t *pCSCompValue; /* value to "compare" against */
sbool isNegated;
propid_t propID; /* ID of the requested property */
+ es_str_t *propName; /* name of property for CEE-based filters */
} prop;
- expr_t *f_expr; /* expression object */
+ struct cnfexpr *expr; /* expression object */
} f_filterData;
ruleset_t *pRuleset; /* associated ruleset */