diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-11-06 12:24:49 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-11-06 12:24:49 +0100 |
commit | 2a94703425c6fb29b7e9d0a00090c83731dead61 (patch) | |
tree | ae4541c7cbe51c1f69daf6aa973d423a1f5a72e6 /action.h | |
parent | 1e20ff6b71aa19ca45ae7e68421370c830141af2 (diff) | |
download | rsyslog-2a94703425c6fb29b7e9d0a00090c83731dead61.tar.gz rsyslog-2a94703425c6fb29b7e9d0a00090c83731dead61.tar.bz2 rsyslog-2a94703425c6fb29b7e9d0a00090c83731dead61.zip |
refactor action disabling
Diffstat (limited to 'action.h')
-rw-r--r-- | action.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -45,8 +45,9 @@ struct action_s { int iActionNbr; /* this action's number (ID) */ sbool bExecWhenPrevSusp;/* execute only when previous action is suspended? */ sbool bWriteAllMarkMsgs;/* should all mark msgs be written (not matter how recent the action was executed)? */ - int iSecsExecOnceInterval; /* if non-zero, minimum seconds to wait until action is executed again */ sbool bHadAutoCommit; /* did an auto-commit happen during doAction()? */ + sbool bDisabled; + int iSecsExecOnceInterval; /* if non-zero, minimum seconds to wait until action is executed again */ time_t ttResumeRtry; /* when is it time to retry the resume? */ int iResumeInterval;/* resume interval for this action */ int iResumeRetryCount;/* how often shall we retry a suspended action? (-1 --> eternal) */ |