diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-03-04 18:22:48 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-03-04 18:22:48 +0100 |
commit | 5005bce38763051b5b12e48ac60c3ff17097a952 (patch) | |
tree | 9e8519e33c0e530791768cb28882679446703505 /tools/syslogd.h | |
parent | 924ceb305dc1dced54beaa6ffe4b72b9f2609c6a (diff) | |
download | rsyslog-5005bce38763051b5b12e48ac60c3ff17097a952.tar.gz rsyslog-5005bce38763051b5b12e48ac60c3ff17097a952.tar.xz rsyslog-5005bce38763051b5b12e48ac60c3ff17097a952.zip |
added ERE support in filter conditions
new comparison operation "ereregex"
Diffstat (limited to 'tools/syslogd.h')
-rw-r--r-- | tools/syslogd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/syslogd.h b/tools/syslogd.h index e866a16b..f1b11a91 100644 --- a/tools/syslogd.h +++ b/tools/syslogd.h @@ -70,7 +70,8 @@ struct filed { FIOP_CONTAINS = 1, /* contains string? */ FIOP_ISEQUAL = 2, /* is (exactly) equal? */ FIOP_STARTSWITH = 3, /* starts with a string? */ - FIOP_REGEX = 4 /* matches a regular expression? */ + FIOP_REGEX = 4, /* matches a (BRE) regular expression? */ + FIOP_EREREGEX = 5 /* matches a ERE regular expression? */ } operation; cstr_t *pCSCompValue; /* value to "compare" against */ char isNegated; /* actually a boolean ;) */ |