summaryrefslogtreecommitdiff
path: root/action.h
diff options
context:
space:
mode:
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;