aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/imap/camel-imap-store.h
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2000-07-25 07:10:21 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2000-07-25 07:10:21 +0800
commitb4fa8e15a8014442a0a21cc121cedda16cdc272a (patch)
tree9ac726858a046c2cb277fbc2f1ab42d50993a81a /camel/providers/imap/camel-imap-store.h
parent0b016c6fa1ec3d14fec25d59f882c2d6cffd6e1f (diff)
downloadgsoc2013-evolution-b4fa8e15a8014442a0a21cc121cedda16cdc272a.tar.gz
gsoc2013-evolution-b4fa8e15a8014442a0a21cc121cedda16cdc272a.tar.zst
gsoc2013-evolution-b4fa8e15a8014442a0a21cc121cedda16cdc272a.zip
Initialize the summary and subfolder listing. (imap_summary_free): Now
2000-07-24 Jeffrey Stedfast <fejj@helixcode.com> * providers/imap/camel-imap-folder.c (camel_imap_folder_new): Initialize the summary and subfolder listing. (imap_summary_free): Now takes a GPtrArray arg rather than a CamelImapFolder as it increases it's usefullness for free()'ing temporary summaries. (imap_get_message_count_internal): A new convenience function for getting the actual message count on a server to be used by imap_get_summary_internal) (imap_get_message_count): Since the Camel API is on the move again, the future version of this function will not be able to make a call to the store, it must only access previously fetched data (thus the creation of the _internal function) (imap_get_subfolder_names_internal): Again, because the future version of imap_get_subfolder_names will not take an exception, we must rename this function which will be called by camel_imap_folder_new() (imap_get_subfolder_names): We now return the previously collected subfolder listing that the _internal function fetched previously (imap_get_summary_internal): Again, same idea as the previous _internal functions... (imap_get_summary): Again... now returns a previously aquired summary * providers/imap/camel-imap-store.c (imap_noop): This will hopefully prevent the imap store from disconnecting. (imap_connect): Modified to add a gtk timeout event that will call imap_noop() every 10 minutes (we may want to change this time value) (imap_disconnect): Modified to remove the NOOP timeout event from the store. (camel_imap_command_extended): Commented out the code that would try and detect if the store was disconnected and then reconnect if it was needed. svn path=/trunk/; revision=4298
Diffstat (limited to 'camel/providers/imap/camel-imap-store.h')
-rw-r--r--camel/providers/imap/camel-imap-store.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/camel/providers/imap/camel-imap-store.h b/camel/providers/imap/camel-imap-store.h
index aeabdaa96d..e1bdc86a9c 100644
--- a/camel/providers/imap/camel-imap-store.h
+++ b/camel/providers/imap/camel-imap-store.h
@@ -52,6 +52,8 @@ typedef struct {
gboolean has_search_capability;
gchar *dir_sep;
+
+ guint timeout_id;
} CamelImapStore;