diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-09-04 15:18:37 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-09-04 15:18:37 +0200 |
commit | 72f9fe88b24428067557a71405ee641a641bf7c4 (patch) | |
tree | db6c81f542d3bfd9abc52892d4dbe0d8c4e8775e /grammar/rainerscript.h | |
parent | c596f1c1b2b6df18a9209d436a8255d96f437b54 (diff) | |
download | rsyslog-72f9fe88b24428067557a71405ee641a641bf7c4.tar.gz rsyslog-72f9fe88b24428067557a71405ee641a641bf7c4.tar.xz rsyslog-72f9fe88b24428067557a71405ee641a641bf7c4.zip |
new ruleengine: v6+ action object properly constructed
Diffstat (limited to 'grammar/rainerscript.h')
-rw-r--r-- | grammar/rainerscript.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/grammar/rainerscript.h b/grammar/rainerscript.h index 89d7c050..978f08ad 100644 --- a/grammar/rainerscript.h +++ b/grammar/rainerscript.h @@ -132,6 +132,7 @@ struct cnfactlst { #define S_PROPFILT 4002 #define S_IF 4003 #define S_ACT 4004 +#define S_NOP 4005 /* usually used to disable some statement */ enum cnfFiltType { CNFFILT_NONE, CNFFILT_PRI, CNFFILT_PROP, CNFFILT_SCRIPT }; static inline char* @@ -321,6 +322,7 @@ struct objlst* objlstAdd(struct objlst *root, struct cnfobj *o); char *rmLeadingSpace(char *s); struct cnfstmt * cnfstmtNewPRIFILT(char *prifilt, struct cnfstmt *t_then); struct cnfstmt * cnfstmtNewPROPFILT(char *propfilt, struct cnfstmt *t_then); +struct cnfstmt * cnfstmtNewAct(struct nvlst *lst); rsRetVal initRainerscript(void); /* debug helper */ |