diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-03-16 15:54:06 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-03-16 15:54:06 +0100 |
commit | c78167c97dc27cdcbda19ab74266a9a21aa61dc9 (patch) | |
tree | f8d1ca4f76487bc0d51b04f787d6c9462a375961 /action.h | |
parent | da4c90af2592c1c1f7e55d3445df23131b035e27 (diff) | |
parent | 4a80242ffcfa93348453ff716f7f1abda417a416 (diff) | |
download | rsyslog-c78167c97dc27cdcbda19ab74266a9a21aa61dc9.tar.gz rsyslog-c78167c97dc27cdcbda19ab74266a9a21aa61dc9.tar.xz rsyslog-c78167c97dc27cdcbda19ab74266a9a21aa61dc9.zip |
Merge branch 'v5-beta' into v5-devel
Diffstat (limited to 'action.h')
-rw-r--r-- | action.h | 19 |
1 files changed, 1 insertions, 18 deletions
@@ -100,26 +100,9 @@ rsRetVal actionDestruct(action_t *pThis); rsRetVal actionDbgPrint(action_t *pThis); rsRetVal actionSetGlobalResumeInterval(int iNewVal); rsRetVal actionDoAction(action_t *pAction); -rsRetVal actionWriteToAction(action_t *pAction); +rsRetVal actionWriteToAction(action_t *pAction, batch_t *pBatch, int idxBtch); rsRetVal actionCallHUPHdlr(action_t *pAction); rsRetVal actionClassInit(void); rsRetVal addAction(action_t **ppAction, modInfo_t *pMod, void *pModData, omodStringRequest_t *pOMSR, int bSuspended); -#if 1 -#define actionIsSuspended(pThis) ((pThis)->bSuspended == 1) -#else -/* The function is a debugging aid */ -inline int actionIsSuspended(action_t *pThis) -{ - int i; - ASSERT(pThis != NULL); - i = pThis->bSuspended == 1; - dbgprintf("in IsSuspend(), returns %d\n", i); - return i; -} -#endif - #endif /* #ifndef ACTION_H_INCLUDED */ -/* - * vi:set ai: - */ |