diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-12-22 18:03:32 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-12-22 18:03:32 +0000 |
commit | 3440686c5933b28e255e3e44ddcc6b8bcdda658f (patch) | |
tree | 44433e35ad31b4a239f8bbee65f1f40b1a7a5628 /src/libutil/str_util.h | |
parent | b2f0f2a79b3338c653de2e1cbc2aeb166bc04d22 (diff) | |
download | rspamd-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.h | 1 |
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); |