From 05cc233af13c41610e0f9460702c6d0a955b29f4 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 13 Sep 2001 21:35:52 +0000 Subject: Pass an exception to the cache. (imap_append_online): Same. 2001-09-13 Jeffrey Stedfast * providers/imap/camel-imap-folder.c (imap_append_offline): Pass an exception to the cache. (imap_append_online): Same. (imap_append_resyncing): Here too. (imap_copy_offline): And here. (handle_copyuid): Pass NULL as the exception here... (parse_fetch_response): And finally here. * providers/imap/camel-imap-message-cache.c (camel_imap_message_cache_insert): (insert_setup): (camel_imap_message_cache_insert_stream): (camel_imap_message_cache_insert_wrapper): (camel_imap_message_cache_copy): Take an exception argument and set it on error. svn path=/trunk/; revision=12813 --- camel/providers/imap/camel-imap-message-cache.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'camel/providers/imap/camel-imap-message-cache.h') diff --git a/camel/providers/imap/camel-imap-message-cache.h b/camel/providers/imap/camel-imap-message-cache.h index 6ddf7339c7..4399a5e703 100644 --- a/camel/providers/imap/camel-imap-message-cache.h +++ b/camel/providers/imap/camel-imap-message-cache.h @@ -70,15 +70,18 @@ CamelStream *camel_imap_message_cache_insert (CamelImapMessageCache *cache, const char *uid, const char *part_spec, const char *data, - int len); + int len, + CamelException *ex); void camel_imap_message_cache_insert_stream (CamelImapMessageCache *cache, const char *uid, const char *part_spec, - CamelStream *data_stream); + CamelStream *data_stream, + CamelException *ex); void camel_imap_message_cache_insert_wrapper (CamelImapMessageCache *cache, const char *uid, const char *part_spec, - CamelDataWrapper *wrapper); + CamelDataWrapper *wrapper, + CamelException *ex); CamelStream *camel_imap_message_cache_get (CamelImapMessageCache *cache, const char *uid, @@ -91,7 +94,8 @@ void camel_imap_message_cache_clear (CamelImapMessageCache *cache); void camel_imap_message_cache_copy (CamelImapMessageCache *source, const char *source_uid, CamelImapMessageCache *dest, - const char *dest_uid); + const char *dest_uid, + CamelException *ex); /* Standard Camel function */ CamelType camel_imap_message_cache_get_type (void); -- cgit v1.2.3