summaryrefslogtreecommitdiffstats
path: root/runtime/queue.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-11-30 17:09:28 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2012-11-30 17:09:28 +0100
commit62f6a7d7b4b3c9fee0fffea961a201d24a059b2c (patch)
tree50dedb5ef56879fd3aa1c83f487cc60c302c7b70 /runtime/queue.h
parent7182c6def360378038c9dc824b7cdf8f3d73a73f (diff)
downloadrsyslog-62f6a7d7b4b3c9fee0fffea961a201d24a059b2c.tar.gz
rsyslog-62f6a7d7b4b3c9fee0fffea961a201d24a059b2c.tar.bz2
rsyslog-62f6a7d7b4b3c9fee0fffea961a201d24a059b2c.zip
fix missing functionality: ruleset(){} could not specify ruleset queue
The "queue.xxx" parameter set was not supported, and legacy ruleset config statements did not work (by intention). The fix introduces the "queue.xxx" parameter set. It has some regression potential, but only for the new functionality. Note that using that interface it is possible to specify duplicate queue file names, which will cause trouble. This will be solved in v7.3, because there is a too-large regression potential for the v7.2 stable branch.
Diffstat (limited to 'runtime/queue.h')
-rw-r--r--runtime/queue.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/queue.h b/runtime/queue.h
index edb770c6..91c100ed 100644
--- a/runtime/queue.h
+++ b/runtime/queue.h
@@ -193,7 +193,9 @@ rsRetVal qqueueConstruct(qqueue_t **ppThis, queueType_t qType, int iWorkerThread
int iMaxQueueSize, rsRetVal (*pConsumer)(void*,batch_t*, int*));
rsRetVal qqueueEnqObjDirectBatch(qqueue_t *pThis, batch_t *pBatch);
rsRetVal qqueueDoCnfParams(struct nvlst *lst, struct cnfparamvals **ppvals);
+int queueCnfParamsSet(struct cnfparamvals *pvals);
rsRetVal qqueueApplyCnfParam(qqueue_t *pThis, struct cnfparamvals *pvals);
+void qqueueSetDefaultsRulesetQueue(qqueue_t *pThis);
void qqueueSetDefaultsActionQueue(qqueue_t *pThis);
void qqueueDbgPrint(qqueue_t *pThis);