diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-05-20 17:34:15 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-05-20 17:34:15 +0100 |
commit | fc91dd7a8186ef9d4d9f2e861f5d6e482033e748 (patch) | |
tree | a49d39e4d6d9b5e524197615e0a00aeff8682244 /src/libutil/util.h | |
parent | 7e785d608880eae1ed9698ded30b83de944c1095 (diff) | |
download | rspamd-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.h | 2 |
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 |