diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-09-08 20:13:29 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-09-08 20:13:29 +0400 |
commit | c6d4570aa00c93e6d142aaa8cd38a3c9ee29eb8f (patch) | |
tree | 51fd7b69c3cee4817daca44c15ea2576f3e37d68 /src/settings.h | |
parent | 9af09b7467a4b9b7b2c9fbf1390b481e71bb07c6 (diff) | |
download | rspamd-c6d4570aa00c93e6d142aaa8cd38a3c9ee29eb8f.tar.gz rspamd-c6d4570aa00c93e6d142aaa8cd38a3c9ee29eb8f.zip |
* Make settings working
Diffstat (limited to 'src/settings.h')
-rw-r--r-- | src/settings.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/settings.h b/src/settings.h index 8d2214ae1..696bd9d76 100644 --- a/src/settings.h +++ b/src/settings.h @@ -12,6 +12,10 @@ struct rspamd_settings { }; -int read_settings (const char *path, struct config_file *cfg, GHashTable *table); +gboolean read_settings (const char *path, struct config_file *cfg, GHashTable *table); +void init_settings (struct config_file *cfg); +gboolean check_metric_settings (struct worker_task *task, struct metric *metric, double *score); +gboolean check_factor_settings (struct worker_task *task, const char *symbol, double *factor); +gboolean check_want_spam (struct worker_task *task); #endif |