aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/task.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/task.h')
-rw-r--r--src/libserver/task.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libserver/task.h b/src/libserver/task.h
index f34c2ce10..4fb2ba3e3 100644
--- a/src/libserver/task.h
+++ b/src/libserver/task.h
@@ -142,7 +142,11 @@ struct rspamd_task {
GMimeMessage *message; /**< message, parsed with GMime */
GPtrArray *parts; /**< list of parsed parts */
GPtrArray *text_parts; /**< list of text parts */
- rspamd_ftok_t raw_headers_content; /**< list of raw headers */
+ struct {
+ const gchar *begin;
+ gsize len;
+ const gchar *body_start;
+ } raw_headers_content; /**< list of raw headers */
GPtrArray *received; /**< list of received headers */
GHashTable *urls; /**< list of parsed urls */
GHashTable *emails; /**< list of parsed emails */