diff options
Diffstat (limited to 'tools/syslogd.h')
-rw-r--r-- | tools/syslogd.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/syslogd.h b/tools/syslogd.h index e866a16b..8b9bd131 100644 --- a/tools/syslogd.h +++ b/tools/syslogd.h @@ -70,8 +70,10 @@ 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; + regex_t *regex_cache; /* cache for compiled REs, if such are used */ cstr_t *pCSCompValue; /* value to "compare" against */ char isNegated; /* actually a boolean ;) */ } prop; |