summaryrefslogtreecommitdiffstats
path: root/runtime/conf.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-07-20 17:37:44 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2011-07-20 17:37:44 +0200
commit5820c5f3e8dc69bdee969d6487d084e884595069 (patch)
treec44cda2313dd8ae3d1f415e864500a747ac4b23c /runtime/conf.c
parent686540cebee2920341911860c0019e687174daa8 (diff)
downloadrsyslog-5820c5f3e8dc69bdee969d6487d084e884595069.tar.gz
rsyslog-5820c5f3e8dc69bdee969d6487d084e884595069.tar.xz
rsyslog-5820c5f3e8dc69bdee969d6487d084e884595069.zip
milestone: done plumbing to call plugin create action instance entry point
Diffstat (limited to 'runtime/conf.c')
-rw-r--r--runtime/conf.c40
1 files changed, 0 insertions, 40 deletions
diff --git a/runtime/conf.c b/runtime/conf.c
index 1757c944..6136262e 100644
--- a/runtime/conf.c
+++ b/runtime/conf.c
@@ -708,46 +708,6 @@ finalize_it:
}
-#if 0
-/* read the filter part of a configuration line and store the filter
- * in the supplied rule_t
- * rgerhards, 2007-08-01
- */
-static rsRetVal cflineDoFilter(uchar **pp, rule_t *f)
-{
- DEFiRet;
-
- ASSERT(pp != NULL);
- ISOBJ_TYPE_assert(f, rule);
-
- /* check which filter we need to pull... */
- switch(**pp) {
- case ':':
- CHKiRet(cflineProcessPropFilter(pp, f));
- break;
- default:
- CHKiRet(cflineProcessTradPRIFilter(pp, f));
- break;
- }
-
- /* we now check if there are some global (BSD-style) filter conditions
- * and, if so, we copy them over. rgerhards, 2005-10-18
- */
- if(pDfltProgNameCmp != NULL) {
- CHKiRet(rsCStrConstructFromCStr(&(f->pCSProgNameComp), pDfltProgNameCmp));
- }
-
- if(eDfltHostnameCmpMode != HN_NO_COMP) {
- f->eHostnameCmpMode = eDfltHostnameCmpMode;
- CHKiRet(rsCStrConstructFromCStr(&(f->pCSHostnameComp), pDfltHostnameCmp));
- }
-
-finalize_it:
- RETiRet;
-}
-#endif
-
-
/* process the action part of a selector line
* rgerhards, 2007-08-01
*/