From f278d3041bc2829db097cc0e5cf99ba443501a9a Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Sat, 1 Jul 2000 01:35:19 +0000 Subject: New function, to copy a message from one folder to another. The default 2000-06-30 Jeffrey Stedfast * 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 --- camel/camel-folder.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'camel/camel-folder.h') 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, -- cgit v1.2.3