diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-02 16:16:57 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-04-02 16:16:57 +0200 |
commit | a86e42028afeba1daca262b590bfd49d9c393b90 (patch) | |
tree | c9276d5a21fbe13b2c819137d705f696ea15ea1d /tools/syslogd.h | |
parent | eb807027af9e126a212b0630c5873dddae48963b (diff) | |
download | rsyslog-a86e42028afeba1daca262b590bfd49d9c393b90.tar.gz rsyslog-a86e42028afeba1daca262b590bfd49d9c393b90.tar.xz rsyslog-a86e42028afeba1daca262b590bfd49d9c393b90.zip |
improved performance of regexp-based filters
Thanks to Arnaud Cornet for providing the idea and initial patch.
Diffstat (limited to 'tools/syslogd.h')
-rw-r--r-- | tools/syslogd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/syslogd.h b/tools/syslogd.h index f1b11a91..ecaaec34 100644 --- a/tools/syslogd.h +++ b/tools/syslogd.h @@ -80,6 +80,7 @@ struct filed { } f_filterData; linkedList_t llActList; /* list of configured actions */ +regex_t *regex_cache; }; |