aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap/camel-imap-message-cache.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-09-14 05:35:52 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-09-14 05:35:52 +0800
commit05cc233af13c41610e0f9460702c6d0a955b29f4 (patch)
treeee376ba62fa9f908422d8c2d2120d58b3d1dde2d /camel/providers/imap/camel-imap-message-cache.h
parent6e59bb666622d0d5c66ad44b4013658b672a3166 (diff)
downloadgsoc2013-evolution-05cc233af13c41610e0f9460702c6d0a955b29f4.tar
gsoc2013-evolution-05cc233af13c41610e0f9460702c6d0a955b29f4.tar.gz
gsoc2013-evolution-05cc233af13c41610e0f9460702c6d0a955b29f4.tar.bz2
gsoc2013-evolution-05cc233af13c41610e0f9460702c6d0a955b29f4.tar.lz
gsoc2013-evolution-05cc233af13c41610e0f9460702c6d0a955b29f4.tar.xz
gsoc2013-evolution-05cc233af13c41610e0f9460702c6d0a955b29f4.tar.zst
gsoc2013-evolution-05cc233af13c41610e0f9460702c6d0a955b29f4.zip
Pass an exception to the cache. (imap_append_online): Same.
2001-09-13 Jeffrey Stedfast <fejj@ximian.com> * 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
Diffstat (limited to 'camel/providers/imap/camel-imap-message-cache.h')
-rw-r--r--camel/providers/imap/camel-imap-message-cache.h12
1 files changed, 8 insertions, 4 deletions
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);