aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-utils.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2005-08-10 10:04:31 +0800
committerMichael Zucci <zucchi@src.gnome.org>2005-08-10 10:04:31 +0800
commite14a0019e799ea6c91ca6320ab0ca6c3c89dc7b6 (patch)
tree11de1e177b25c26eed619ef60b187fc1835aba66 /mail/em-folder-utils.h
parent7bbb6938b70d7eef0de8e17de3541e447682d9c9 (diff)
downloadgsoc2013-evolution-e14a0019e799ea6c91ca6320ab0ca6c3c89dc7b6.tar.gz
gsoc2013-evolution-e14a0019e799ea6c91ca6320ab0ca6c3c89dc7b6.tar.zst
gsoc2013-evolution-e14a0019e799ea6c91ca6320ab0ca6c3c89dc7b6.zip
** See #312715.
2005-08-09 Not Zed <NotZed@Ximian.com> ** See #312715. * em-folder-tree.c (emft_drop_folder_rec): removed. (emft_drop_folder): call em_folder_utils_copy_folders to perform the operation rather than: doing it sync when it shouldn't be, and 2; copying code redundantly. * em-folder-utils.c (em_folder_utils_move_folder): remove this redundant api. (em_folder_utils_copy_folder): add delete flag. (em_folder_utils_copy_folders): export this function. fix strange argument order. svn path=/trunk/; revision=30066
Diffstat (limited to 'mail/em-folder-utils.h')
-rw-r--r--mail/em-folder-utils.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/em-folder-utils.h b/mail/em-folder-utils.h
index c8b8438777..c063e04759 100644
--- a/mail/em-folder-utils.h
+++ b/mail/em-folder-utils.h
@@ -24,10 +24,11 @@
#ifndef _EM_FOLDER_UTILS_H
#define _EM_FOLDER_UTILS_H
+int em_folder_utils_copy_folders(CamelStore *fromstore, const char *frombase, CamelStore *tostore, const char *tobase, int delete);
+
/* FIXME: These api's are really busted, there is no consistency and most rely on the wrong data */
-void em_folder_utils_copy_folder (struct _CamelFolderInfo *folderinfo);
-void em_folder_utils_move_folder (struct _CamelFolderInfo *folderinfo);
+void em_folder_utils_copy_folder (struct _CamelFolderInfo *folderinfo, int delete);
void em_folder_utils_delete_folder (struct _CamelFolder *folder);
void em_folder_utils_rename_folder (struct _CamelFolder *folder);