diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-09-28 11:06:16 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-09-28 11:06:16 +0200 |
commit | 38cdf1abaddea47aa5e9d11d97fade6a2455b632 (patch) | |
tree | 7676ef3216c6f322a47c5a0840a44c3ab0fc3029 /grammar/rainerscript.h | |
parent | b0764541ab2f2d0448ca79564479bb5865a02ecf (diff) | |
download | rsyslog-38cdf1abaddea47aa5e9d11d97fade6a2455b632.tar.gz rsyslog-38cdf1abaddea47aa5e9d11d97fade6a2455b632.tar.xz rsyslog-38cdf1abaddea47aa5e9d11d97fade6a2455b632.zip |
Implement RainerScript ruleset() statement
Diffstat (limited to 'grammar/rainerscript.h')
-rw-r--r-- | grammar/rainerscript.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/grammar/rainerscript.h b/grammar/rainerscript.h index 902ff4c5..6bd1660a 100644 --- a/grammar/rainerscript.h +++ b/grammar/rainerscript.h @@ -20,6 +20,7 @@ extern int Debug; /* 1 if in debug mode, 0 otherwise -- to be enhanced */ enum cnfobjType { CNFOBJ_ACTION, + CNFOBJ_RULESET, CNFOBJ_GLOBAL, CNFOBJ_INPUT, CNFOBJ_MODULE, @@ -36,6 +37,9 @@ cnfobjType2str(enum cnfobjType ot) case CNFOBJ_ACTION: return "action"; break; + case CNFOBJ_RULESET: + return "ruleset"; + break; case CNFOBJ_GLOBAL: return "global"; break; @@ -81,6 +85,7 @@ struct cnfobj { enum cnfobjType objType; struct nvlst *nvlst; struct objlst *subobjs; + struct cnfstmt *script; }; struct objlst { |