aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-07-01 09:35:19 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-07-01 09:35:19 +0800
commitf278d3041bc2829db097cc0e5cf99ba443501a9a (patch)
tree8014fb0a1fa2fc17589391eb10773e7b9fd75f59 /camel/camel-folder.h
parentc07840479d0b23443c06e20599bf4948e6d3509b (diff)
downloadgsoc2013-evolution-f278d3041bc2829db097cc0e5cf99ba443501a9a.tar.gz
gsoc2013-evolution-f278d3041bc2829db097cc0e5cf99ba443501a9a.tar.zst
gsoc2013-evolution-f278d3041bc2829db097cc0e5cf99ba443501a9a.zip
New function, to copy a message from one folder to another. The default
2000-06-30 Jeffrey Stedfast <fejj@helixcode.com> * camel-folder.c (camel_folder_copy_message_to): New function, to copy a message from one folder to another. The default implementation just uses append_message, but providers can implement more efficient versions for use when both folders are on the same store. * broken-date-parser.[c,h]: Utilities for parsing broken date strings. * providers/imap/camel-imap-folder.c (imap_move_message_to): (imap_copy_message_to): Implemented. * camel-mime-utils.c (header_decode_date): Wrote some code to try and un-mangle broken date formats and then parse that new string instead. svn path=/trunk/; revision=3841
Diffstat (limited to 'camel/camel-folder.h')
-rw-r--r--camel/camel-folder.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/camel/camel-folder.h b/camel/camel-folder.h
index d0a7ceea02..7f8520ed63 100644
--- a/camel/camel-folder.h
+++ b/camel/camel-folder.h
@@ -162,6 +162,11 @@ typedef struct {
const CamelMessageInfo * (*summary_get_by_uid) (CamelFolder *,
const char *uid);
+ void (*copy_message_to) (CamelFolder *source,
+ const char *uid,
+ CamelFolder *destination,
+ CamelException *ex);
+
void (*move_message_to) (CamelFolder *source,
const char *uid,
CamelFolder *destination,