diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-04-04 16:01:00 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-04-04 16:01:00 +0200 |
commit | 9b85b24d1323c91a06aeef08bbbde7a96afd46d6 (patch) | |
tree | a42851b74542f906d77359b2e8f97e5d5bf475c4 /grammar/rainerscript.h | |
parent | cbf0ed9541fee2a480dda3533d1604a9df4ae9bb (diff) | |
download | rsyslog-9b85b24d1323c91a06aeef08bbbde7a96afd46d6.tar.gz rsyslog-9b85b24d1323c91a06aeef08bbbde7a96afd46d6.tar.bz2 rsyslog-9b85b24d1323c91a06aeef08bbbde7a96afd46d6.zip |
bugfix: nested if/prifilt conditions did not work properly
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=415
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 59ce53f3..c9bcbcc9 100644 --- a/grammar/rainerscript.h +++ b/grammar/rainerscript.h @@ -317,6 +317,7 @@ int cnfparamvalsIsSet(struct cnfparamblk *params, struct cnfparamvals *vals); void varDelete(struct var *v); void cnfparamvalsDestruct(struct cnfparamvals *paramvals, struct cnfparamblk *blk); struct cnfstmt * cnfstmtNew(unsigned s_type); +void cnfstmtPrintOnly(struct cnfstmt *stmt, int indent, sbool subtree); void cnfstmtPrint(struct cnfstmt *stmt, int indent); struct cnfstmt* scriptAddStmt(struct cnfstmt *root, struct cnfstmt *s); struct objlst* objlstAdd(struct objlst *root, struct cnfobj *o); @@ -338,6 +339,7 @@ void cnfarrayContentDestruct(struct cnfarray *ar); char* getFIOPName(unsigned iFIOP); rsRetVal initRainerscript(void); void unescapeStr(uchar *s, int len); +char * tokenval2str(int tok); /* debug helper */ void cstrPrint(char *text, es_str_t *estr); |