diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-10-26 17:56:04 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-10-26 17:56:04 +0200 |
commit | 1f59e66eef458534d43b6da12bb81a84a39c3fe6 (patch) | |
tree | be52182354fb96b941a5dc0e51334931fd792b34 /action.h | |
parent | dc4db17f51cc6d88af10a6155292ea53180a8e66 (diff) | |
download | rsyslog-1f59e66eef458534d43b6da12bb81a84a39c3fe6.tar.gz rsyslog-1f59e66eef458534d43b6da12bb81a84a39c3fe6.tar.bz2 rsyslog-1f59e66eef458534d43b6da12bb81a84a39c3fe6.zip |
milestone: calling sequence changed so that wti is passed to many functions
Diffstat (limited to 'action.h')
-rw-r--r-- | action.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -69,7 +69,7 @@ struct action_s { struct modInfo_s *pMod;/* pointer to output module handling this selector */ void *pModData; /* pointer to module data - content is module-specific */ sbool bRepMsgHasMsg; /* "message repeated..." has msg fragment in it (0-no, 1-yes) */ - rsRetVal (*submitToActQ)(action_t *, batch_t *);/* function submit message to action queue */ + rsRetVal (*submitToActQ)(action_t *, batch_t *, wti_t*);/* function submit message to action queue */ rsRetVal (*qConstruct)(struct queue_s *pThis); enum { ACT_STRING_PASSING = 0, ACT_ARRAY_PASSING = 1, ACT_MSG_PASSING = 2, ACT_JSON_PASSING = 3} @@ -97,7 +97,7 @@ rsRetVal actionDestruct(action_t *pThis); rsRetVal actionDbgPrint(action_t *pThis); rsRetVal actionSetGlobalResumeInterval(int iNewVal); rsRetVal actionDoAction(action_t *pAction); -rsRetVal actionWriteToAction(action_t *pAction, msg_t *pMsg); +rsRetVal actionWriteToAction(action_t *pAction, msg_t *pMsg, wti_t*); rsRetVal actionCallHUPHdlr(action_t *pAction); rsRetVal actionClassInit(void); rsRetVal addAction(action_t **ppAction, modInfo_t *pMod, void *pModData, omodStringRequest_t *pOMSR, struct cnfparamvals *actParams, struct nvlst *lst, int bSuspended); |