aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-tools.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-08-28 01:26:34 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-08-28 01:26:34 +0800
commit16daf75376145e9d64973f413667441767135ebc (patch)
treef02ab65f79e58b074bcb148ec7641fd75f349b22 /mail/mail-tools.h
parentfcefade8381d8305dd3c3448ba0559f6f07bad03 (diff)
downloadgsoc2013-evolution-16daf75376145e9d64973f413667441767135ebc.tar
gsoc2013-evolution-16daf75376145e9d64973f413667441767135ebc.tar.gz
gsoc2013-evolution-16daf75376145e9d64973f413667441767135ebc.tar.bz2
gsoc2013-evolution-16daf75376145e9d64973f413667441767135ebc.tar.lz
gsoc2013-evolution-16daf75376145e9d64973f413667441767135ebc.tar.xz
gsoc2013-evolution-16daf75376145e9d64973f413667441767135ebc.tar.zst
gsoc2013-evolution-16daf75376145e9d64973f413667441767135ebc.zip
Remove X-Evolution* headers. (mail_tool_remove_xevolution_headers): New
2001-08-27 Jeffrey Stedfast <fejj@ximian.com> * 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
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);