From 6d9e5d4e27a221ac0308d6df006e20966fe22959 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 16 Jul 2007 06:26:39 +0000 Subject: integrated patch by Michel Samia to provide regex support for the filter engine - many thanks! --- syslogd-types.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'syslogd-types.h') diff --git a/syslogd-types.h b/syslogd-types.h index 2ae0964a..852b19ea 100644 --- a/syslogd-types.h +++ b/syslogd-types.h @@ -203,7 +203,8 @@ struct filed { FIOP_NOP = 0, /* do not use - No Operation */ FIOP_CONTAINS = 1, /* contains string? */ FIOP_ISEQUAL = 2, /* is (exactly) equal? */ - FIOP_STARTSWITH = 3 /* starts with a string? */ + FIOP_STARTSWITH = 3, /* starts with a string? */ + FIOP_REGEX = 4 /* matches a regular expression? */ } operation; rsCStrObj *pCSCompValue; /* value to "compare" against */ char isNegated; /* actually a boolean ;) */ -- cgit