diff options
author | Dan Winship <danw@src.gnome.org> | 2000-03-28 09:57:59 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-03-28 09:57:59 +0800 |
commit | 15287c0ce663905936d69acd7874d9efea5cb285 (patch) | |
tree | c418ab9d8e63befcfa50fcff326494a96fb2f201 /camel/camel-folder.h | |
parent | 03bcc319cfa2f92e86da72d0bd9f6040f4800aa0 (diff) | |
download | gsoc2013-evolution-15287c0ce663905936d69acd7874d9efea5cb285.tar gsoc2013-evolution-15287c0ce663905936d69acd7874d9efea5cb285.tar.gz gsoc2013-evolution-15287c0ce663905936d69acd7874d9efea5cb285.tar.bz2 gsoc2013-evolution-15287c0ce663905936d69acd7874d9efea5cb285.tar.lz gsoc2013-evolution-15287c0ce663905936d69acd7874d9efea5cb285.tar.xz gsoc2013-evolution-15287c0ce663905936d69acd7874d9efea5cb285.tar.zst gsoc2013-evolution-15287c0ce663905936d69acd7874d9efea5cb285.zip |
add delete_message_by_{number,uid}.
* camel-folder.[ch]: add delete_message_by_{number,uid}.
* providers/pop3/camel-pop3-folder.[ch]: implement
delete_message_by_uid. Add a close method to do expunging
of deleted messages if requested.
* providers/pop3/camel-pop3-store.[ch]: support for
CamelPop3Folder::close. (You have to close the connection
in order to expunge the folder, thus the store may be
connected in the CamelService::is_connected sense when it
is not actually connected to the server.) Also some bugfixes.
svn path=/trunk/; revision=2203
Diffstat (limited to 'camel/camel-folder.h')
-rw-r--r-- | camel/camel-folder.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/camel/camel-folder.h b/camel/camel-folder.h index 68a6c8f214..c6a36cd3a7 100644 --- a/camel/camel-folder.h +++ b/camel/camel-folder.h @@ -165,6 +165,10 @@ typedef struct { gint number, CamelException *ex); + void (*delete_message_by_number) (CamelFolder *folder, + gint number, + CamelException *ex); + gint (*get_message_count) (CamelFolder *folder, CamelException *ex); @@ -190,6 +194,10 @@ typedef struct { const gchar *uid, CamelException *ex); + void (*delete_message_by_uid) (CamelFolder *folder, + const gchar *uid, + CamelException *ex); + GList * (*get_uid_list) (CamelFolder *folder, CamelException *ex); @@ -287,6 +295,9 @@ gboolean camel_folder_has_message_number_capability (CamelFolder *fold CamelMimeMessage * camel_folder_get_message_by_number (CamelFolder *folder, gint number, CamelException *ex); +void camel_folder_delete_message_by_number (CamelFolder *folder, + gint number, + CamelException *ex); gint camel_folder_get_message_count (CamelFolder *folder, CamelException *ex); @@ -299,6 +310,9 @@ const gchar * camel_folder_get_message_uid (CamelFolder *folder, CamelMimeMessage * camel_folder_get_message_by_uid (CamelFolder *folder, const gchar *uid, CamelException *ex); +void camel_folder_delete_message_by_uid (CamelFolder *folder, + const gchar *uid, + CamelException *ex); GList * camel_folder_get_uid_list (CamelFolder *folder, CamelException *ex); |