aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/url.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/url.h')
-rw-r--r--src/libserver/url.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libserver/url.h b/src/libserver/url.h
index fa5c69f00..523fb2c1f 100644
--- a/src/libserver/url.h
+++ b/src/libserver/url.h
@@ -203,12 +203,15 @@ void rspamd_url_add_tag (struct rspamd_url *url, const gchar *tag,
guint rspamd_url_hash (gconstpointer u);
guint rspamd_email_hash (gconstpointer u);
+guint rspamd_url_host_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);
+gboolean rspamd_urls_host_cmp (gconstpointer a, gconstpointer b);
/**
* Decode URL encoded string in-place and return new length of a string, src and dst are NULL terminated