diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-12-19 16:50:36 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-12-19 16:50:36 +0000 |
commit | ba359144bb7630859ae55997c175ce5d0760a39f (patch) | |
tree | ea84a014ae0ecb822ebd35285f2304141154fe2b /src/libmime/smtp_parsers.h | |
parent | 41f091a7b2aaae65272306ee5c356a39622563f5 (diff) | |
download | rspamd-ba359144bb7630859ae55997c175ce5d0760a39f.tar.gz rspamd-ba359144bb7630859ae55997c175ce5d0760a39f.zip |
[Feature] Add rfc2047 grammar
Diffstat (limited to 'src/libmime/smtp_parsers.h')
-rw-r--r-- | src/libmime/smtp_parsers.h | 5 |
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_ */ |