summaryrefslogtreecommitdiffstats
path: root/src/libmime/email_addr.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-23 15:28:25 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-04-23 15:28:25 +0100
commitaed9a8ed461cde250a87a5daf2ff49004484b72c (patch)
treede04b46bd31de92076a440a1e9030d6d453c9848 /src/libmime/email_addr.h
parent88b2b5b24f1b70be17a1ede3d70fd4b96959d569 (diff)
downloadrspamd-aed9a8ed461cde250a87a5daf2ff49004484b72c.tar.gz
rspamd-aed9a8ed461cde250a87a5daf2ff49004484b72c.zip
[Fix] Fix email address build
Diffstat (limited to 'src/libmime/email_addr.h')
-rw-r--r--src/libmime/email_addr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libmime/email_addr.h b/src/libmime/email_addr.h
index 353692ff5..1397d84ac 100644
--- a/src/libmime/email_addr.h
+++ b/src/libmime/email_addr.h
@@ -27,6 +27,7 @@ enum rspamd_email_address_flags {
RSPAMD_EMAIL_ADDR_BRACED = (1 << 2),
RSPAMD_EMAIL_ADDR_QUOTED = (1 << 3),
RSPAMD_EMAIL_ADDR_EMPTY = (1 << 4),
+ RSPAMD_EMAIL_ADDR_SMTP = (1 << 5)
};
/*
@@ -37,11 +38,13 @@ struct rspamd_email_address {
const gchar *addr;
const gchar *user;
const gchar *domain;
+ const gchar *name;
guint raw_len;
guint addr_len;
guint user_len;
guint domain_len;
+ guint name_len;
enum rspamd_email_address_flags flags;
ref_entry_t ref;