diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-01-23 16:26:55 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-01-23 16:26:55 +0000 |
commit | 82612bf153debaff5a11e5542caca454e921eeaf (patch) | |
tree | da3a5c9e7fcb90855543af1d36b0d437c88a960e /src/libstat/backends/backends.h | |
parent | 2b1f046085b35e685fad03a88c827eee1f483093 (diff) | |
download | rspamd-82612bf153debaff5a11e5542caca454e921eeaf.tar.gz rspamd-82612bf153debaff5a11e5542caca454e921eeaf.zip |
Refactor structures names.
Diffstat (limited to 'src/libstat/backends/backends.h')
-rw-r--r-- | src/libstat/backends/backends.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libstat/backends/backends.h b/src/libstat/backends/backends.h index 37a7560cd..45a8cd314 100644 --- a/src/libstat/backends/backends.h +++ b/src/libstat/backends/backends.h @@ -33,13 +33,14 @@ struct rspamd_classifier_config; struct rspamd_statfile_config; struct rspamd_config; +struct rspamd_stat_ctx; struct rspamd_stat_backend { const char *name; - gpointer (*init)(struct rspamd_statfile_config *cfg); + gpointer (*init)(struct rspamd_stat_ctx *ctx, struct rspamd_config *cfg); gpointer ctx; }; -gpointer rspamd_mmaped_file_init(struct rspamd_config *cfg); +gpointer rspamd_mmaped_file_init(struct rspamd_stat_ctx *ctx, struct rspamd_config *cfg); #endif /* BACKENDS_H_ */ |