aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-tools.h
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-tools.h')
-rw-r--r--mail/mail-tools.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/mail/mail-tools.h b/mail/mail-tools.h
index 57802e0be9..0573840dd6 100644
--- a/mail/mail-tools.h
+++ b/mail/mail-tools.h
@@ -28,6 +28,14 @@
#include <camel/camel.h>
#include <camel/camel-filter-driver.h> /*eek*/
+typedef struct xevolution {
+ char *flags;
+ char *source;
+ char *transport;
+ char *account;
+ char *fcc;
+} XEvolution;
+
/* Get a CamelFolder from a root url and a foldername (uses the global session)*/
CamelFolder *
mail_tool_get_folder_from_urlname (const gchar *url, const gchar *name,
@@ -58,6 +66,10 @@ mail_tool_do_movemail (const gchar *source_url, CamelException *ex);
void
mail_tool_move_folder_contents (CamelFolder *source, CamelFolder *dest, gboolean use_cache, CamelException *ex);
+XEvolution *mail_tool_remove_xevolution_headers (CamelMimeMessage *message);
+void mail_tool_restore_xevolution_headers (CamelMimeMessage *message, XEvolution *xev);
+void mail_tool_destroy_exevolution (XEvolution *xev);
+
/* Generates the subject for a message forwarding @msg */
gchar *
mail_tool_generate_forward_subject (CamelMimeMessage *msg);