summaryrefslogtreecommitdiffstats
path: root/action.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-03-16 15:54:06 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2011-03-16 15:54:06 +0100
commitc78167c97dc27cdcbda19ab74266a9a21aa61dc9 (patch)
treef8d1ca4f76487bc0d51b04f787d6c9462a375961 /action.h
parentda4c90af2592c1c1f7e55d3445df23131b035e27 (diff)
parent4a80242ffcfa93348453ff716f7f1abda417a416 (diff)
downloadrsyslog-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.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/action.h b/action.h
index e57a0acf..0ab8062a 100644
--- a/action.h
+++ b/action.h
@@ -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:
- */