diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-02-02 15:51:01 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-02-02 15:51:01 +0100 |
commit | 38cb3926727c0ad29f3950db43ba12248e867b89 (patch) | |
tree | 5062cb4f81766ab983971126974a914e3fb4f360 /action.h | |
parent | acda58b561b92d21df685d03cc703b5792d9d72b (diff) | |
download | rsyslog-38cb3926727c0ad29f3950db43ba12248e867b89.tar.gz rsyslog-38cb3926727c0ad29f3950db43ba12248e867b89.tar.xz rsyslog-38cb3926727c0ad29f3950db43ba12248e867b89.zip |
replaced data type "bool" by "sbool" because this created some portability issues
Diffstat (limited to 'action.h')
-rw-r--r-- | action.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -52,8 +52,8 @@ struct action_s { time_t tActNow; /* the current time for an action execution. Initially set to -1 and populated on an as-needed basis. This is a performance optimization. */ time_t tLastExec; /* time this action was last executed */ - bool bExecWhenPrevSusp;/* execute only when previous action is suspended? */ - bool bWriteAllMarkMsgs;/* should all mark msgs be written (not matter how recent the action was executed)? */ + sbool bExecWhenPrevSusp;/* execute only when previous action is suspended? */ + sbool bWriteAllMarkMsgs;/* should all mark msgs be written (not matter how recent the action was executed)? */ int iSecsExecOnceInterval; /* if non-zero, minimum seconds to wait until action is executed again */ action_state_t eState; /* current state of action */ int bHadAutoCommit; /* did an auto-commit happen during doAction()? */ @@ -67,7 +67,7 @@ struct action_s { time_t tLastOccur; /* time last occurence was seen (for timing them out) */ struct modInfo_s *pMod;/* pointer to output module handling this selector */ void *pModData; /* pointer to module data - content is module-specific */ - bool bRepMsgHasMsg; /* "message repeated..." has msg fragment in it (0-no, 1-yes) */ + sbool bRepMsgHasMsg; /* "message repeated..." has msg fragment in it (0-no, 1-yes) */ short f_ReduceRepeated;/* reduce repeated lines 0 - no, 1 - yes */ int f_prevcount; /* repetition cnt of prevline */ int f_repeatcount; /* number of "repeated" msgs */ |