aboutsummaryrefslogtreecommitdiffstats
path: root/src/message.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/message.h')
-rw-r--r--src/message.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/message.h b/src/message.h
index a57571987..e5859738a 100644
--- a/src/message.h
+++ b/src/message.h
@@ -45,6 +45,12 @@ struct received_header {
gint is_error;
};
+struct raw_header {
+ gchar *name;
+ gchar *value;
+ gboolean tab_separated;
+};
+
/**
* Process message with all filters/statfiles, extract mime parts, urls and
* call metrics consolidation functions
@@ -55,5 +61,6 @@ gint process_message (struct worker_task *task);
void message_set_header (GMimeMessage *message, const gchar *field, const gchar *value);
GList* message_get_header (memory_pool_t *pool, GMimeMessage *message, const gchar *field, gboolean strong);
+GList* message_get_raw_header (struct worker_task *task, const gchar *field, gboolean strong);
#endif