aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap/camel-imap-store.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-09-28 07:55:26 +0800
committerDan Winship <danw@src.gnome.org>2000-09-28 07:55:26 +0800
commitef97f35231ffe997643a58e4c40a084e42413a5c (patch)
treee6bdd850ba356d126c06db683eedd76e3f836afa /camel/providers/imap/camel-imap-store.h
parent6f2839b4d1869b990e6b855e2eb2c363e04db9aa (diff)
downloadgsoc2013-evolution-ef97f35231ffe997643a58e4c40a084e42413a5c.tar
gsoc2013-evolution-ef97f35231ffe997643a58e4c40a084e42413a5c.tar.gz
gsoc2013-evolution-ef97f35231ffe997643a58e4c40a084e42413a5c.tar.bz2
gsoc2013-evolution-ef97f35231ffe997643a58e4c40a084e42413a5c.tar.lz
gsoc2013-evolution-ef97f35231ffe997643a58e4c40a084e42413a5c.tar.xz
gsoc2013-evolution-ef97f35231ffe997643a58e4c40a084e42413a5c.tar.zst
gsoc2013-evolution-ef97f35231ffe997643a58e4c40a084e42413a5c.zip
Return untagged data in a GPtrArray rather than a string, since it saves
* providers/imap/camel-imap-store.c (camel_imap_command_extended): Return untagged data in a GPtrArray rather than a string, since it saves processing time and is much easier to deal with for several commands. Update for camel_imap_folder_changed change. (camel_imap_fetch_command): Update for camel_imap_folder_changed change. (imap_connect, imap_folder_exists): Update for camel_imap_command_extended change. * providers/imap/camel-imap-folder.c (imap_get_message_count_internal, imap_get_subfolder_info_internal, imap_search_by_expression): Update for camel_imap_command_extended change. (imap_get_summary_internal, imap_get_message_info_internal): Use camel_imap_fetch_command here now to get around the camel_imap_command_extended change. (camel_imap_folder_changed): turn expunged into a GArray of ints rather than a GPtrArray of strings representing ints. svn path=/trunk/; revision=5608
Diffstat (limited to 'camel/providers/imap/camel-imap-store.h')
-rw-r--r--camel/providers/imap/camel-imap-store.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/camel/providers/imap/camel-imap-store.h b/camel/providers/imap/camel-imap-store.h
index fe7b9f2f78..1d9a07ff96 100644
--- a/camel/providers/imap/camel-imap-store.h
+++ b/camel/providers/imap/camel-imap-store.h
@@ -84,7 +84,10 @@ gint camel_imap_command (CamelImapStore *store, CamelFolder *folder,
CamelException *ex, char *fmt, ...);
gint camel_imap_command_extended (CamelImapStore *store, CamelFolder *folder,
- char **ret, CamelException *ex, char *fmt, ...);
+ GPtrArray **ret, CamelException *ex, char *fmt, ...);
+void camel_imap_response_free (GPtrArray *response);
+char *camel_imap_response_extract (GPtrArray *response, const char *type,
+ CamelException *ex);
gint camel_imap_fetch_command (CamelImapStore *store, CamelFolder *folder,
char **ret, CamelException *ex, char *fmt, ...);