From 16daf75376145e9d64973f413667441767135ebc Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Mon, 27 Aug 2001 17:26:34 +0000 Subject: Remove X-Evolution* headers. (mail_tool_remove_xevolution_headers): New 2001-08-27 Jeffrey Stedfast * mail-tools.c (mail_tool_make_message_attachment): Remove X-Evolution* headers. (mail_tool_remove_xevolution_headers): New function to convenience removing the X-Evolution headers. (mail_tool_restore_xevolution_headers): New convenience function to restore the X-Evolution headers. (mail_tool_destroy_xevolution): New function to cleanup the structure. (mail_tool_forward_message): Remove and restore the X-Evolution headers here too. svn path=/trunk/; revision=12484 --- mail/mail-tools.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'mail/mail-tools.h') 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 #include /*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); -- cgit