aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/smtp_parsers.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-12 17:22:30 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-12-12 17:22:30 +0000
commit45e9ab083468a4f91f52f800894978779a15d817 (patch)
treebc1b9246bd1c5d06e14e071ae090f37a5781aa21 /src/libmime/smtp_parsers.h
parentd9ff2f67f50f5d1c15c64897fc92903e4a8408d7 (diff)
downloadrspamd-45e9ab083468a4f91f52f800894978779a15d817.tar.gz
rspamd-45e9ab083468a4f91f52f800894978779a15d817.zip
[Feature] Add content disposition parser
Diffstat (limited to 'src/libmime/smtp_parsers.h')
-rw-r--r--src/libmime/smtp_parsers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libmime/smtp_parsers.h b/src/libmime/smtp_parsers.h
index 0d6e23413..d0784c2cd 100644
--- a/src/libmime/smtp_parsers.h
+++ b/src/libmime/smtp_parsers.h
@@ -33,5 +33,7 @@ void rspamd_strip_newlines_parse (const gchar *begin, const gchar *pe,
gboolean rspamd_content_type_parser (const char *data, size_t len,
struct rspamd_content_type *ct, rspamd_mempool_t *pool);
+gboolean rspamd_content_disposition_parser (const char *data, size_t len,
+ struct rspamd_content_disposition *cd, rspamd_mempool_t *pool);
#endif /* SRC_LIBMIME_SMTP_PARSERS_H_ */