summaryrefslogtreecommitdiffstats
path: root/runtime/batch.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2013-11-04 18:33:31 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2013-11-04 18:33:31 +0100
commit9bbd09b1d3c1a1e4562a6d5c2e7040c5a0efa39c (patch)
tree235fab606de1613caa4934529277a7e0bcfe4acb /runtime/batch.h
parent25b223c0dcd3e8449a048c87bdab2ad899fd9dcc (diff)
downloadrsyslog-9bbd09b1d3c1a1e4562a6d5c2e7040c5a0efa39c.tar.gz
rsyslog-9bbd09b1d3c1a1e4562a6d5c2e7040c5a0efa39c.tar.bz2
rsyslog-9bbd09b1d3c1a1e4562a6d5c2e7040c5a0efa39c.zip
cleanup: multiple rulesets inside a single batch are now OK
They don't require special handling any longer, so do no longer care about them.
Diffstat (limited to 'runtime/batch.h')
-rw-r--r--runtime/batch.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/runtime/batch.h b/runtime/batch.h
index ea2d6a35..a7f62aa4 100644
--- a/runtime/batch.h
+++ b/runtime/batch.h
@@ -70,7 +70,6 @@ struct batch_s {
qDeqID deqID; /* ID of dequeue operation that generated this batch */
int *pbShutdownImmediate;/* end processing of this batch immediately if set to 1 */
sbool *active; /* which messages are active for processing, NULL=all */
- sbool bSingleRuleset; /* do all msgs of this batch use a single ruleset? */
batch_obj_t *pElem; /* batch elements */
batch_state_t *eltState;/* state (array!) for individual objects.
NOTE: we have moved this out of batch_obj_t because we
@@ -82,13 +81,6 @@ struct batch_s {
};
-/* some inline functions (we may move this off to an object .. or not) */
-static inline void
-batchSetSingleRuleset(batch_t *pBatch, sbool val) {
- pBatch->bSingleRuleset = val;
-}
-
-
/* get number of msgs for this batch */
static inline int
batchNumMsgs(batch_t *pBatch) {