aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/cfg_file.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-01-20 22:43:18 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-01-20 22:43:18 +0000
commit0762a7107fbd1f5b6f1fd39681590acba4993506 (patch)
tree15333fac31b7cd2f4177dcb4914159ffb456f4d4 /src/libserver/cfg_file.h
parenta3ecf06dbe6728c9f384fdc864b52f5910acd283 (diff)
downloadrspamd-0762a7107fbd1f5b6f1fd39681590acba4993506.tar.gz
rspamd-0762a7107fbd1f5b6f1fd39681590acba4993506.zip
Add backend option for statfiles, remove legacy
Diffstat (limited to 'src/libserver/cfg_file.h')
-rw-r--r--src/libserver/cfg_file.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libserver/cfg_file.h b/src/libserver/cfg_file.h
index 1beb51055..7338b9068 100644
--- a/src/libserver/cfg_file.h
+++ b/src/libserver/cfg_file.h
@@ -137,6 +137,8 @@ struct rspamd_statfile_config {
gchar *label; /**< label of this statfile */
ucl_object_t *opts; /**< other options */
gboolean is_spam; /**< spam flag */
+ const gchar *backend; /**< name of statfile's backend */
+ gpointer data; /**< opaque data */
};
/**
@@ -216,8 +218,6 @@ struct rspamd_config {
gboolean log_color; /**< output colors for console output */
gboolean log_extended; /**< log extended information */
- guint32 statfile_sync_interval; /**< synchronization interval */
- guint32 statfile_sync_timeout; /**< synchronization timeout */
gboolean mlock_statfile_pool; /**< use mlock (2) for locking statfiles */
gboolean delivery_enable; /**< is delivery agent is enabled */