diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-02-04 16:35:21 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2019-02-04 16:35:21 +0000 |
commit | a59ff17c8be4d6ebe6db7b6fc2cebf724c4fd865 (patch) | |
tree | e43271e94af1423583d405240b463dfe4596b8f9 /src/libserver/url.h | |
parent | d5c97700dfea628844e0e67eb4769fd4288473c6 (diff) | |
download | rspamd-a59ff17c8be4d6ebe6db7b6fc2cebf724c4fd865.tar.gz rspamd-a59ff17c8be4d6ebe6db7b6fc2cebf724c4fd865.zip |
[Regression] Fix urls output in the protocol
Diffstat (limited to 'src/libserver/url.h')
-rw-r--r-- | src/libserver/url.h | 3 |
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 |