aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/url.h
diff options
context:
space:
mode:
authorMiecio Za <miecio@miecio.net>2019-02-27 11:56:35 +0100
committerMiecio Za <miecio@miecio.net>2019-02-27 11:56:35 +0100
commitadd9595913c3f456c6328a53801739cdca70da9d (patch)
tree8c4e1af1f5c98014b14787ff036c3dc591206f72 /src/libserver/url.h
parent54493e55a5691de3ba8eaa998aae3824402191db (diff)
downloadrspamd-add9595913c3f456c6328a53801739cdca70da9d.tar.gz
rspamd-add9595913c3f456c6328a53801739cdca70da9d.zip
[Feature] Export visible part of url to lua
Export visible part of url to lua
Diffstat (limited to 'src/libserver/url.h')
-rw-r--r--src/libserver/url.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libserver/url.h b/src/libserver/url.h
index 4d1948921..571424099 100644
--- a/src/libserver/url.h
+++ b/src/libserver/url.h
@@ -48,6 +48,7 @@ struct rspamd_url {
gchar *fragment;
gchar *surbl;
gchar *tld;
+ gchar *visible_part;
struct rspamd_url *phished_url;
@@ -61,6 +62,7 @@ struct rspamd_url {
guint tldlen;
guint urllen;
guint rawlen;
+ guint visible_partlen;
enum rspamd_url_flags flags;
guint count;