diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-04 11:33:09 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-04 11:33:09 +0100 |
commit | ef661fe13c0ab5018afedb1cb5b8cffab05ad7c4 (patch) | |
tree | d7698c542ba3d49e9a75781559034f39f910d95e /tools | |
parent | 1b7f5c54684db29c096e09238648a45dce78ebee (diff) | |
download | rsyslog-ef661fe13c0ab5018afedb1cb5b8cffab05ad7c4.tar.gz rsyslog-ef661fe13c0ab5018afedb1cb5b8cffab05ad7c4.tar.xz rsyslog-ef661fe13c0ab5018afedb1cb5b8cffab05ad7c4.zip |
finalized parser module calling interface
looks like we are almost done and need only to add the ruleset parser-specific
config options.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/pmrfc3164.c | 4 | ||||
-rw-r--r-- | tools/pmrfc5424.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tools/pmrfc3164.c b/tools/pmrfc3164.c index b106d3d0..5b684af5 100644 --- a/tools/pmrfc3164.c +++ b/tools/pmrfc3164.c @@ -62,6 +62,10 @@ static int bParseHOSTNAMEandTAG; /* cache for the equally-named global param - p BEGINisCompatibleWithFeature CODESTARTisCompatibleWithFeature + if(eFeat == sFEATUREAutomaticSanitazion) + iRet = RS_RET_OK; + if(eFeat == sFEATUREAutomaticPRIParsing) + iRet = RS_RET_OK; ENDisCompatibleWithFeature diff --git a/tools/pmrfc5424.c b/tools/pmrfc5424.c index 2fa2c981..07994ade 100644 --- a/tools/pmrfc5424.c +++ b/tools/pmrfc5424.c @@ -60,6 +60,10 @@ DEFobjCurrIf(datetime) BEGINisCompatibleWithFeature CODESTARTisCompatibleWithFeature + if(eFeat == sFEATUREAutomaticSanitazion) + iRet = RS_RET_OK; + if(eFeat == sFEATUREAutomaticPRIParsing) + iRet = RS_RET_OK; ENDisCompatibleWithFeature |