diff options
author | Michael Biebl <biebl@debian.org> | 2008-07-23 02:22:26 +0200 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2008-07-23 02:22:26 +0200 |
commit | a0a154c1e0b88afbe3cabc2a5a4d3a4523681576 (patch) | |
tree | 8ab4f9d7e06b45a9874c0d5ad25223de133ef206 /action.h | |
parent | 991c6cc7f1b1586b3fad07460503bb9f7a34ad07 (diff) | |
download | rsyslog-a0a154c1e0b88afbe3cabc2a5a4d3a4523681576.tar.gz |
Imported Upstream version 3.18.1upstream/3.18.1
Diffstat (limited to 'action.h')
-rw-r--r-- | action.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -39,8 +39,10 @@ extern int glbliActionResumeRetryCount; /* the following struct defines the action object data structure */ struct action_s { - time_t f_time; /* time this was last written */ + time_t f_time; /* used for "message repeated n times" - be careful, old, old code */ + time_t tLastExec; /* time this action was last executed */ int bExecWhenPrevSusp;/* execute only when previous action is suspended? */ + int iSecsExecOnceInterval; /* if non-zero, minimum seconds to wait until action is executed again */ 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? */ |