summaryrefslogtreecommitdiffstats
path: root/src/libserver/url.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-11-25 18:03:30 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-11-25 18:03:30 +0000
commitb6a5d60e0c8b2ab385ea0dfdd2b3e8fe3d2a5d60 (patch)
tree96daadc4608ea3451d7ffb5405d80c245d5c929e /src/libserver/url.h
parent898a828cf646830dff0d4edb24104a6152196bb8 (diff)
downloadrspamd-b6a5d60e0c8b2ab385ea0dfdd2b3e8fe3d2a5d60.tar.gz
rspamd-b6a5d60e0c8b2ab385ea0dfdd2b3e8fe3d2a5d60.zip
Add extended output format for URLs.
Diffstat (limited to 'src/libserver/url.h')
-rw-r--r--src/libserver/url.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/libserver/url.h b/src/libserver/url.h
index 5b508e056..c9700436b 100644
--- a/src/libserver/url.h
+++ b/src/libserver/url.h
@@ -21,14 +21,10 @@ struct uri {
gchar *password;
gchar *host;
gchar *port;
- /* @data can contain both the path and query uri fields.
- * It can never be NULL but can have zero length. */
gchar *data;
gchar *fragment;
- /* @post can contain some special encoded form data, used internally
- * to make form data handling more efficient. The data is marked by
- * POST_CHAR in the uri string. */
gchar *post;
+ gchar *surbl;
struct uri *phished_url;
@@ -41,6 +37,7 @@ struct uri {
guint portlen;
guint datalen;
guint fragmentlen;
+ guint surbllen;
/* Flags */
gboolean ipv6; /* URI contains IPv6 host */