summaryrefslogtreecommitdiffstats
path: root/src/libmime/smtp_parsers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libmime/smtp_parsers.h')
-rw-r--r--src/libmime/smtp_parsers.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libmime/smtp_parsers.h b/src/libmime/smtp_parsers.h
index d0784c2cd..905a01f0c 100644
--- a/src/libmime/smtp_parsers.h
+++ b/src/libmime/smtp_parsers.h
@@ -36,4 +36,9 @@ gboolean rspamd_content_type_parser (const char *data, size_t len,
gboolean rspamd_content_disposition_parser (const char *data, size_t len,
struct rspamd_content_disposition *cd, rspamd_mempool_t *pool);
+gboolean
+rspamd_rfc2047_parser (const gchar *in, gsize len, gint *pencoding,
+ const gchar **charset, gsize *charset_len,
+ const gchar **encoded, gsize *encoded_len);
+
#endif /* SRC_LIBMIME_SMTP_PARSERS_H_ */