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 /runtime/queue.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 'runtime/queue.h')
-rw-r--r-- | runtime/queue.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/queue.h b/runtime/queue.h index 844523ad..01b4f351 100644 --- a/runtime/queue.h +++ b/runtime/queue.h @@ -103,7 +103,7 @@ struct queue_s { * the user really wanted...). -- rgerhards, 2008-04-02 */ /* end dequeue time window */ - rsRetVal (*pConsumer)(void *,batch_t*,int*); /* user-supplied consumer function for dequeued messages */ + rsRetVal (*pConsumer)(void *,batch_t*, wti_t*,int*); /* user-supplied consumer function for dequeued messages */ /* calling interface for pConsumer: arg1 is the global user pointer from this structure, arg2 is the * user pointer array that was dequeued (actual sample: for actions, arg1 is the pAction and arg2 * is pointer to an array of message message pointers), arg3 is a pointer to an interger which is zero @@ -201,7 +201,7 @@ rsRetVal qqueueStart(qqueue_t *pThis); rsRetVal qqueueSetMaxFileSize(qqueue_t *pThis, size_t iMaxFileSize); rsRetVal qqueueSetFilePrefix(qqueue_t *pThis, uchar *pszPrefix, size_t iLenPrefix); rsRetVal qqueueConstruct(qqueue_t **ppThis, queueType_t qType, int iWorkerThreads, - int iMaxQueueSize, rsRetVal (*pConsumer)(void*,batch_t*, int*)); + int iMaxQueueSize, rsRetVal (*pConsumer)(void*,batch_t*, wti_t *, int*)); rsRetVal qqueueEnqObjDirectBatch(qqueue_t *pThis, batch_t *pBatch); int queueCnfParamsSet(struct nvlst *lst); rsRetVal qqueueApplyCnfParam(qqueue_t *pThis, struct nvlst *lst); |