From b1db196953713dd09c499a3edf81347bd903c19e Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 3 Nov 2009 18:44:02 +0100 Subject: one step closer to dynamically loadable parsers This is a milestone commit, which adds new code that breaks nothing, but also does not add any visible change. Just prep work... --- runtime/syslogd-types.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'runtime/syslogd-types.h') diff --git a/runtime/syslogd-types.h b/runtime/syslogd-types.h index 161ee06f..49eeaa6a 100644 --- a/runtime/syslogd-types.h +++ b/runtime/syslogd-types.h @@ -56,8 +56,9 @@ * applications I do not yet envision. -- rgerhards, 2007-07-24 */ typedef enum _syslogFeature { - sFEATURERepeatedMsgReduction = 1, - sFEATURENonCancelInputTermination = 2 + sFEATURERepeatedMsgReduction = 1, /* for output modules */ + sFEATURENonCancelInputTermination = 2, /* for input modules */ + sFEATUREAtomaticSanitazion = 3 /* for parser modules */ } syslogFeature; /* we define our own facility and severities */ -- cgit v1.2.3 From ef661fe13c0ab5018afedb1cb5b8cffab05ad7c4 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Wed, 4 Nov 2009 11:33:09 +0100 Subject: finalized parser module calling interface looks like we are almost done and need only to add the ruleset parser-specific config options. --- runtime/syslogd-types.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'runtime/syslogd-types.h') diff --git a/runtime/syslogd-types.h b/runtime/syslogd-types.h index 49eeaa6a..fcebd985 100644 --- a/runtime/syslogd-types.h +++ b/runtime/syslogd-types.h @@ -58,7 +58,8 @@ typedef enum _syslogFeature { sFEATURERepeatedMsgReduction = 1, /* for output modules */ sFEATURENonCancelInputTermination = 2, /* for input modules */ - sFEATUREAtomaticSanitazion = 3 /* for parser modules */ + sFEATUREAutomaticSanitazion = 3, /* for parser modules */ + sFEATUREAutomaticPRIParsing = 4 /* for parser modules */ } syslogFeature; /* we define our own facility and severities */ -- cgit v1.2.3