summaryrefslogtreecommitdiff
path: root/action.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2008-03-29 12:14:44 +0100
committerMichael Biebl <biebl@debian.org>2008-03-29 12:14:44 +0100
commit12e8c69354614a03f06a8617f25d145ab091f504 (patch)
tree3b19dc723cc0ce48020bc3f077e7d5d27b3a1cfe /action.h
parent81367522c83c4b1b8cb157925e103edc9f148cd4 (diff)
downloadrsyslog-12e8c69354614a03f06a8617f25d145ab091f504.tar.gz
Imported Upstream version 1.20.1upstream/1.20.1
Diffstat (limited to 'action.h')
-rw-r--r--action.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/action.h b/action.h
index e7757d7..9a24600 100644
--- a/action.h
+++ b/action.h
@@ -25,6 +25,7 @@
#define ACTION_H_INCLUDED 1
#include "syslogd-types.h"
+#include "sync.h"
/* the following struct defines the action object data structure
*/
@@ -37,7 +38,7 @@ struct action_s {
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 */
+ void *pModData; /* pointer to module data - content is module-specific */
int f_ReduceRepeated;/* reduce repeated lines 0 - no, 1 - yes */
int f_prevcount; /* repetition cnt of prevline */
int f_repeatcount; /* number of "repeated" msgs */
@@ -50,6 +51,7 @@ struct action_s {
* content later). This is preserved after the message has been
* processed - it is also used to detect duplicates.
*/
+ SYNC_OBJ_TOOL; /* required for mutex support */
};
typedef struct action_s action_t;