From 25b223c0dcd3e8449a048c87bdab2ad899fd9dcc Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 4 Nov 2013 18:31:00 +0100 Subject: more cleanup --- runtime/batch.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'runtime/batch.h') diff --git a/runtime/batch.h b/runtime/batch.h index fac0158e..ea2d6a35 100644 --- a/runtime/batch.h +++ b/runtime/batch.h @@ -88,17 +88,6 @@ batchSetSingleRuleset(batch_t *pBatch, sbool val) { pBatch->bSingleRuleset = val; } -/* get the batches ruleset (if we have a single ruleset) */ -static inline ruleset_t* -batchGetRuleset(batch_t *pBatch) { - return (pBatch->nElem > 0) ? pBatch->pElem[0].pMsg->pRuleset : NULL; -} - -/* get the ruleset of a specifc element of the batch (index not verified!) */ -static inline ruleset_t* -batchElemGetRuleset(batch_t *pBatch, int i) { - return pBatch->pElem[i].pMsg->pRuleset; -} /* get number of msgs for this batch */ static inline int -- cgit v1.2.3