aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/str_util.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-03-31 09:33:02 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-03-31 09:33:02 +0100
commit7f72ec81a58eb6ed217c78f4a300781450350568 (patch)
tree8f750308db7b01f1add6a9fe9522328c7dccb6e9 /src/libutil/str_util.h
parent2fae860a476986fa46f1c6c33a95d8cbef832b68 (diff)
downloadrspamd-7f72ec81a58eb6ed217c78f4a300781450350568.tar.gz
rspamd-7f72ec81a58eb6ed217c78f4a300781450350568.zip
[Feature] Use XXH64 on 64 bits platforms only
Diffstat (limited to 'src/libutil/str_util.h')
-rw-r--r--src/libutil/str_util.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libutil/str_util.h b/src/libutil/str_util.h
index 75cc6fb0a..04132a4d3 100644
--- a/src/libutil/str_util.h
+++ b/src/libutil/str_util.h
@@ -289,4 +289,12 @@ void rspamd_ucl_emit_fstring_comments (const ucl_object_t *obj,
rspamd_fstring_t **target,
const ucl_object_t *comments);
+guint rspamd_url_hash (gconstpointer u);
+
+/* Compare two emails for building emails hash */
+gboolean rspamd_emails_cmp (gconstpointer a, gconstpointer b);
+
+/* Compare two urls for building emails hash */
+gboolean rspamd_urls_cmp (gconstpointer a, gconstpointer b);
+
#endif /* SRC_LIBUTIL_STR_UTIL_H_ */