summaryrefslogtreecommitdiffstats
path: root/runtime/rule.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-06-26 15:31:40 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-06-26 15:31:40 +0200
commit7ea63db2f9d6b375dc95696e47357d73927f2d3d (patch)
tree2a250373f792b5604e151f059c803eb6a76a1776 /runtime/rule.h
parent1f361c5eb9028e7750a1c84811c9c3ac5cdd0a31 (diff)
downloadrsyslog-7ea63db2f9d6b375dc95696e47357d73927f2d3d.tar.gz
rsyslog-7ea63db2f9d6b375dc95696e47357d73927f2d3d.tar.xz
rsyslog-7ea63db2f9d6b375dc95696e47357d73927f2d3d.zip
optimization: propert names are now internally identified by integers
Diffstat (limited to 'runtime/rule.h')
-rw-r--r--runtime/rule.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/rule.h b/runtime/rule.h
index 38b11c63..99ac44e7 100644
--- a/runtime/rule.h
+++ b/runtime/rule.h
@@ -44,11 +44,11 @@ struct rule_s {
union {
u_char f_pmask[LOG_NFACILITIES+1]; /* priority mask */
struct {
- cstr_t *pCSPropName;
fiop_t operation;
regex_t *regex_cache; /* cache for compiled REs, if such are used */
cstr_t *pCSCompValue; /* value to "compare" against */
- char isNegated; /* actually a boolean ;) */
+ bool isNegated;
+ propid_t propID; /* ID of the requested property */
} prop;
expr_t *f_expr; /* expression object */
} f_filterData;