diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2007-08-08 09:59:28 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2007-08-08 09:59:28 +0000 |
commit | e276e32d426e488f9f18f7ca156c301df3604e4f (patch) | |
tree | 2baa8374677c210ee4a6fde750a8491fd0a0fc88 /action.h | |
parent | 5cca4552674adad6dc24d1e91f41771db7c70beb (diff) | |
download | rsyslog-e276e32d426e488f9f18f7ca156c301df3604e4f.tar.gz rsyslog-e276e32d426e488f9f18f7ca156c301df3604e4f.tar.xz rsyslog-e276e32d426e488f9f18f7ca156c301df3604e4f.zip |
added config file directive $ActionResumeInterval
Diffstat (limited to 'action.h')
-rw-r--r-- | action.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -34,6 +34,7 @@ struct action_s { short bEnabled; /* is the related action enabled (1) or disabled (0)? */ short bSuspended; /* is the related action temporarily suspended? */ time_t ttResumeRtry; /* when is it time to retry the resume? */ + int iResumeInterval;/* resume interval for this action */ int iNbrResRtry; /* number of retries since last suspend */ struct moduleInfo *pMod;/* pointer to output module handling this selector */ void *pModData; /* pointer to module data - contents is module-specific */ @@ -60,6 +61,7 @@ rsRetVal actionDestruct(action_t *pThis); rsRetVal actionTryResume(action_t *pThis); rsRetVal actionSuspend(action_t *pThis); rsRetVal actionDbgPrint(action_t *pThis); +rsRetVal actionSetGlobalResumeInterval(int iNewVal); #if 1 #define actionIsSuspended(pThis) ((pThis)->bSuspended == 1) |