diff options
author | Michael Biebl <biebl@debian.org> | 2011-03-26 19:16:55 +0100 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2011-03-26 19:16:55 +0100 |
commit | dea543841bb1f1c46586a68da21d55b44c6bf158 (patch) | |
tree | 46dd88ab15d5da40adae5ca8748f73e079df979a /action.h | |
parent | a362b3333f84518889cefc1706d4e6adaa92888c (diff) | |
download | rsyslog-dea543841bb1f1c46586a68da21d55b44c6bf158.tar.gz |
Imported Upstream version 5.7.9upstream/5.7.9
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: - */ |