summaryrefslogtreecommitdiffstats
path: root/grammar/rainerscript.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-09-21 10:41:05 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-09-21 10:41:05 +0200
commit87f415f16fec001a4f87e18817bace73f19d6416 (patch)
tree400d0e8ccd876cb40c1b6d59bc08b48a0034ae14 /grammar/rainerscript.h
parentbda0ef62f01ab86f5f4d84fb3d0eb25c14aaea55 (diff)
downloadrsyslog-87f415f16fec001a4f87e18817bace73f19d6416.tar.gz
rsyslog-87f415f16fec001a4f87e18817bace73f19d6416.tar.xz
rsyslog-87f415f16fec001a4f87e18817bace73f19d6416.zip
Implement script optimization IF -> PRIFILT
Diffstat (limited to 'grammar/rainerscript.h')
-rw-r--r--grammar/rainerscript.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/grammar/rainerscript.h b/grammar/rainerscript.h
index bd29ff85..902ff4c5 100644
--- a/grammar/rainerscript.h
+++ b/grammar/rainerscript.h
@@ -158,6 +158,7 @@ struct cnfstmt {
struct {
uchar pmask[LOG_NFACILITIES+1]; /* priority mask */
struct cnfstmt *t_then;
+ struct cnfstmt *t_else;
} s_prifilt;
struct {
fiop_t operation;
@@ -167,6 +168,7 @@ struct cnfstmt {
uintTiny propID;/* ID of the requested property */
es_str_t *propName;/* name of property for CEE-based filters */
struct cnfstmt *t_then;
+ struct cnfstmt *t_else;
} s_propfilt;
struct action_s *act;
} d;