diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-08-28 17:06:48 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-08-28 17:06:48 +0100 |
commit | ac2d3dfba0a971bd0f73724f99a318fc1f371b5c (patch) | |
tree | b69bca6e627ea5e73c10aa9ea7e77df812f03ef4 /src/libserver/symbols_cache.h | |
parent | 3e6a976f8a2aa5afa3cc76f98d4d7eeff1474ed1 (diff) | |
download | rspamd-ac2d3dfba0a971bd0f73724f99a318fc1f371b5c.tar.gz rspamd-ac2d3dfba0a971bd0f73724f99a318fc1f371b5c.zip |
Use config checksum for unique tag.
Diffstat (limited to 'src/libserver/symbols_cache.h')
-rw-r--r-- | src/libserver/symbols_cache.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libserver/symbols_cache.h b/src/libserver/symbols_cache.h index 2f4e28657..64d1f911f 100644 --- a/src/libserver/symbols_cache.h +++ b/src/libserver/symbols_cache.h @@ -50,7 +50,7 @@ enum rspamd_symbol_type { * Creates new cache structure * @return */ -struct symbols_cache* rspamd_symbols_cache_new (void); +struct symbols_cache* rspamd_symbols_cache_new (struct rspamd_config *cfg); /** * Remove the cache structure syncing data if needed @@ -61,8 +61,7 @@ void rspamd_symbols_cache_destroy (struct symbols_cache *cache); /** * Load symbols cache from file, must be called _after_ init_symbols_cache */ -gboolean rspamd_symbols_cache_init (struct symbols_cache* cache, - struct rspamd_config *cfg); +gboolean rspamd_symbols_cache_init (struct symbols_cache* cache); /** * Generic function to register a symbol |