diff options
Diffstat (limited to 'src/settings.h')
-rw-r--r-- | src/settings.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/settings.h b/src/settings.h index 1f7ee743f..a1d712a87 100644 --- a/src/settings.h +++ b/src/settings.h @@ -9,15 +9,15 @@ struct rspamd_settings { GHashTable *reject_scores; /**< hash table of metric reject scores for this setting */ GHashTable *factors; /**< hash table of new factors for this setting */ GHashTable *whitelist; /**< hash table of whitelist for this setting */ - char *statfile_alias; /**< alias for statfile used */ + gchar *statfile_alias; /**< alias for statfile used */ gboolean want_spam; /**< if true disable rspamd checks */ }; -gboolean read_settings (const char *path, struct config_file *cfg, GHashTable *table); +gboolean read_settings (const gchar *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, double *rscore); -gboolean check_factor_settings (struct worker_task *task, const char *symbol, double *factor); +gboolean check_factor_settings (struct worker_task *task, const gchar *symbol, double *factor); gboolean check_want_spam (struct worker_task *task); #endif |