aboutsummaryrefslogtreecommitdiffstats
path: root/src/libmime/message.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-06-06 16:35:57 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-06-06 16:35:57 +0100
commita8e5e53c38ec2289c240008bf918ec086ec7a08a (patch)
tree3cd6148c92d8be9cafc0cb57e9e85837839de78d /src/libmime/message.h
parent573f8cd97a5f24949977b856b0108844b5bacf88 (diff)
downloadrspamd-a8e5e53c38ec2289c240008bf918ec086ec7a08a.tar.gz
rspamd-a8e5e53c38ec2289c240008bf918ec086ec7a08a.zip
[Feature] Split message parsing and processing
Diffstat (limited to 'src/libmime/message.h')
-rw-r--r--src/libmime/message.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libmime/message.h b/src/libmime/message.h
index 0ed2a5c66..b16011666 100644
--- a/src/libmime/message.h
+++ b/src/libmime/message.h
@@ -143,6 +143,12 @@ struct received_header {
gboolean rspamd_message_parse (struct rspamd_task *task);
/**
+ * Process content in task (e.g. HTML parsing)
+ * @param task
+ */
+void rspamd_message_process (struct rspamd_task *task);
+
+/**
* Get an array of header's values with specified header's name using raw headers
* @param task worker task structure
* @param field header's name