summaryrefslogtreecommitdiffstats
path: root/runtime/ruleset.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-09-20 16:11:22 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-09-20 16:11:22 +0200
commit7351fcc0e2635bf29c556b189190507c8c5202c9 (patch)
treea76d4dcfcb78cea364e98218a68149d2eb6d0d1b /runtime/ruleset.h
parentf5e7e35dca91df2d9ed00c7b542716c60bd7161a (diff)
downloadrsyslog-7351fcc0e2635bf29c556b189190507c8c5202c9.tar.gz
rsyslog-7351fcc0e2635bf29c556b189190507c8c5202c9.tar.bz2
rsyslog-7351fcc0e2635bf29c556b189190507c8c5202c9.zip
Add skeleton for RainerScript optimizer
actual optimization is not yet done
Diffstat (limited to 'runtime/ruleset.h')
-rw-r--r--runtime/ruleset.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/ruleset.h b/runtime/ruleset.h
index 50c8071e..1f8f948f 100644
--- a/runtime/ruleset.h
+++ b/runtime/ruleset.h
@@ -90,5 +90,9 @@ rulesetGetName(ruleset_t *pRuleset)
}
+/* we will most probably convert this module back to traditional C
+ * calling sequence, so here we go...
+ */
rsRetVal rulesetGetRuleset(rsconf_t *conf, ruleset_t **ppRuleset, uchar *pszName);
+rsRetVal rulesetOptimizeAll(rsconf_t *conf);
#endif /* #ifndef INCLUDED_RULESET_H */