aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/util.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-05-20 17:34:15 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-05-20 17:34:15 +0100
commitfc91dd7a8186ef9d4d9f2e861f5d6e482033e748 (patch)
treea49d39e4d6d9b5e524197615e0a00aeff8682244 /src/libutil/util.h
parent7e785d608880eae1ed9698ded30b83de944c1095 (diff)
downloadrspamd-fc91dd7a8186ef9d4d9f2e861f5d6e482033e748.tar.gz
rspamd-fc91dd7a8186ef9d4d9f2e861f5d6e482033e748.zip
Use caseless hash and equal functions for request headers.
Diffstat (limited to 'src/libutil/util.h')
-rw-r--r--src/libutil/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/util.h b/src/libutil/util.h
index c4170881c..80896083c 100644
--- a/src/libutil/util.h
+++ b/src/libutil/util.h
@@ -185,6 +185,8 @@ gboolean rspamd_str_equal (gconstpointer v, gconstpointer v2);
*/
guint rspamd_fstring_icase_hash (gconstpointer key);
gboolean rspamd_fstring_icase_equal (gconstpointer v, gconstpointer v2);
+guint rspamd_gstring_icase_hash (gconstpointer key);
+gboolean rspamd_gstring_icase_equal (gconstpointer v, gconstpointer v2);
/*
* Google perf-tools initialization function