summaryrefslogtreecommitdiffstats
path: root/src/libutil/str_util.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-22 18:03:32 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-22 18:03:32 +0000
commit3440686c5933b28e255e3e44ddcc6b8bcdda658f (patch)
tree44433e35ad31b4a239f8bbee65f1f40b1a7a5628 /src/libutil/str_util.h
parentb2f0f2a79b3338c653de2e1cbc2aeb166bc04d22 (diff)
downloadrspamd-3440686c5933b28e255e3e44ddcc6b8bcdda658f.tar.gz
rspamd-3440686c5933b28e255e3e44ddcc6b8bcdda658f.zip
[Feature] Use t1ha for hashes, allow inlining
Diffstat (limited to 'src/libutil/str_util.h')
-rw-r--r--src/libutil/str_util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libutil/str_util.h b/src/libutil/str_util.h
index 094a6498c..941d141b4 100644
--- a/src/libutil/str_util.h
+++ b/src/libutil/str_util.h
@@ -45,6 +45,7 @@ void rspamd_str_lc_utf8 (gchar *str, guint size);
/*
* Hash table utility functions for case insensitive hashing
*/
+guint64 rspamd_icase_hash (const gchar *in, gsize len, guint64 seed);
guint rspamd_strcase_hash (gconstpointer key);
gboolean rspamd_strcase_equal (gconstpointer v, gconstpointer v2);