summaryrefslogtreecommitdiffstats
path: root/tools/syslogd.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-04-02 16:16:57 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-04-02 16:16:57 +0200
commita86e42028afeba1daca262b590bfd49d9c393b90 (patch)
treec9276d5a21fbe13b2c819137d705f696ea15ea1d /tools/syslogd.h
parenteb807027af9e126a212b0630c5873dddae48963b (diff)
downloadrsyslog-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.h1
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;
};