summaryrefslogtreecommitdiffstats
path: root/action.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-08-08 09:59:28 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-08-08 09:59:28 +0000
commite276e32d426e488f9f18f7ca156c301df3604e4f (patch)
tree2baa8374677c210ee4a6fde750a8491fd0a0fc88 /action.h
parent5cca4552674adad6dc24d1e91f41771db7c70beb (diff)
downloadrsyslog-e276e32d426e488f9f18f7ca156c301df3604e4f.tar.gz
rsyslog-e276e32d426e488f9f18f7ca156c301df3604e4f.tar.xz
rsyslog-e276e32d426e488f9f18f7ca156c301df3604e4f.zip
added config file directive $ActionResumeInterval
Diffstat (limited to 'action.h')
-rw-r--r--action.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/action.h b/action.h
index 467404fc..e7757d73 100644
--- a/action.h
+++ b/action.h
@@ -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)