From a7943ce5a42ef266579e60ce272c9ee3f547be03 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Tue, 8 Aug 2000 03:42:47 +0000 Subject: Only retry another uid if we had a name clash, otherwise fail. 2000-08-07 Not Zed * providers/mh/camel-mh-folder.c (mh_append_message): Only retry another uid if we had a name clash, otherwise fail. 2000-08-04 Not Zed * camel-url.c (camel_url_set_protocol): (camel_url_set_host): (camel_url_set_path): (camel_url_set_port): Url editing functions. 2000-08-02 Not Zed * providers/mh/camel-mh-summary.c (camel_mh_summary_sync): Expunge from the end, so the index isn't messed up when you remove a message. * providers/mh/camel-mh-folder.c (mh_append_message): Fix a bug where it would never open an output file/uid. * providers/mbox/camel-mbox-store.c (rename_folder): Implementation for mbox as well. * camel-store.c (camel_store_rename_folder): New method to rename folders. (rename_folder): Default implementation. * providers/mh/camel-mh-store.c (delete_folder): Implement this. (rename_folder): Implement a rename operation. svn path=/trunk/; revision=4590 --- camel/camel-store.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'camel/camel-store.h') diff --git a/camel/camel-store.h b/camel/camel-store.h index 6d2d9e53e9..3fc029d8c9 100644 --- a/camel/camel-store.h +++ b/camel/camel-store.h @@ -63,7 +63,10 @@ typedef struct { void (*delete_folder) (CamelStore *store, const char *folder_name, CamelException *ex); - + void (*rename_folder) (CamelStore *store, + const char *old_name, + const char *new_name, + CamelException *ex); char * (*get_folder_name) (CamelStore *store, const char *folder_name, CamelException *ex); @@ -99,6 +102,10 @@ CamelFolder * camel_store_get_default_folder (CamelStore *store, void camel_store_delete_folder (CamelStore *store, const char *folder_name, CamelException *ex); +void camel_store_rename_folder (CamelStore *store, + const char *old_name, + const char *new_name, + CamelException *ex); #ifdef __cplusplus } -- cgit