aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/smtp_parsers.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2019-02-06 12:36:10 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2019-02-06 12:36:10 +0000
commitd525194397181456bba6edea4680a10403c3415c (patch)
tree563b036764abad3be68cf6912613e6c78addf9a0 /src/libmime/smtp_parsers.h
parent659ec2d02a354f9132f3a02d27b0b60aa156c551 (diff)
downloadrspamd-d525194397181456bba6edea4680a10403c3415c.tar.gz
rspamd-d525194397181456bba6edea4680a10403c3415c.zip
[Project] Add spilling machine for received headers
Diffstat (limited to 'src/libmime/smtp_parsers.h')
-rw-r--r--src/libmime/smtp_parsers.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libmime/smtp_parsers.h b/src/libmime/smtp_parsers.h
index fdd390f22..6904bece0 100644
--- a/src/libmime/smtp_parsers.h
+++ b/src/libmime/smtp_parsers.h
@@ -34,6 +34,9 @@ rspamd_rfc2047_parser (const gchar *in, gsize len, gint *pencoding,
const gchar **charset, gsize *charset_len,
const gchar **encoded, gsize *encoded_len);
+rspamd_inet_addr_t* rspamd_parse_smtp_ip (const char *data, size_t len,
+ rspamd_mempool_t *pool);
+
guint64 rspamd_parse_smtp_date (const char *data, size_t len);
#endif /* SRC_LIBMIME_SMTP_PARSERS_H_ */