aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_file.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-03 17:10:34 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-03 17:10:34 +0000
commit45e84668a1c7a7131db53e2b94375cfc98d68556 (patch)
tree6f39b6fa4420d7476bff5c91a6c99998063358ec /src/libserver/cfg_file.h
parentb279f5c311ad4a454f9aef1f373d88bd2aed9b81 (diff)
downloadrspamd-45e84668a1c7a7131db53e2b94375cfc98d68556.tar.gz
rspamd-45e84668a1c7a7131db53e2b94375cfc98d68556.zip
Start new era of regexp cache
Diffstat (limited to 'src/libserver/cfg_file.h')
-rw-r--r--src/libserver/cfg_file.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libserver/cfg_file.h b/src/libserver/cfg_file.h
index 05946a79e..36e6371d8 100644
--- a/src/libserver/cfg_file.h
+++ b/src/libserver/cfg_file.h
@@ -13,6 +13,7 @@
#include "cfg_rcl.h"
#include "ucl.h"
#include "regexp.h"
+#include "libserver/re_cache.h"
#include "ref.h"
#define DEFAULT_BIND_PORT 11333
@@ -327,6 +328,8 @@ struct rspamd_config {
struct rspamd_external_libs_ctx *libs_ctx; /**< context for external libraries */
+ struct rspamd_re_cache *re_cache; /**< static regexp cache */
+
ref_entry_t ref; /**< reference counter */
};