summaryrefslogtreecommitdiffstats
path: root/src/hash.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-05-04 19:53:43 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-05-04 19:53:43 +0400
commit3604753e01e1ab6b9c4a43ea199b1cb466960df6 (patch)
treeb3e86cfc98d3cbcf430fd9f370b66083be4d5f42 /src/hash.h
parent9f1cf4fe474abd3f56da5e5ac9abd27f0ebd4c2b (diff)
downloadrspamd-3604753e01e1ab6b9c4a43ea199b1cb466960df6.tar.gz
rspamd-3604753e01e1ab6b9c4a43ea199b1cb466960df6.zip
* Fix shared hashes avoiding its resizing
Diffstat (limited to 'src/hash.h')
-rw-r--r--src/hash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash.h b/src/hash.h
index 024cb3851..594b6c63b 100644
--- a/src/hash.h
+++ b/src/hash.h
@@ -46,7 +46,7 @@ rspamd_hash_t* rspamd_hash_new (memory_pool_t *pool, GHashFunc hash_func, GEqual
* @param key_equal_func pointer to function for comparing keys
* @return new rspamd_hash object
*/
-rspamd_hash_t* rspamd_hash_new_shared (memory_pool_t *pool, GHashFunc hash_func, GEqualFunc key_equal_func);
+rspamd_hash_t* rspamd_hash_new_shared (memory_pool_t *pool, GHashFunc hash_func, GEqualFunc key_equal_func, gint size);
/**
* Insert item in hash