diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-08-21 05:44:29 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-08-21 05:44:29 +0800 |
commit | 164f4653dd98cd41fc7e3dd64b09145dec04bed8 (patch) | |
tree | 04d58b72775bf962314eb9a98870408407f6f48e /camel/camel-store.h | |
parent | 07c805c9f58f4b025960ea5718f4e1448bf9c4cc (diff) | |
download | gsoc2013-evolution-164f4653dd98cd41fc7e3dd64b09145dec04bed8.tar.gz gsoc2013-evolution-164f4653dd98cd41fc7e3dd64b09145dec04bed8.tar.zst gsoc2013-evolution-164f4653dd98cd41fc7e3dd64b09145dec04bed8.zip |
Override the default noop implementation.
2002-08-20 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-store.c (imap_noop): Override the
default noop implementation.
* camel-store.c (camel_store_noop): New virtual method to ping a
store.
* camel-session.c (get_service): Register a timeout that calls
camel_store_noop() every 10 minutes.
svn path=/trunk/; revision=17822
Diffstat (limited to 'camel/camel-store.h')
-rw-r--r-- | camel/camel-store.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/camel/camel-store.h b/camel/camel-store.h index 8aaa820d64..e054ab7224 100644 --- a/camel/camel-store.h +++ b/camel/camel-store.h @@ -155,6 +155,8 @@ typedef struct { void (*unsubscribe_folder) (CamelStore *store, const char *folder_name, CamelException *ex); + void (*noop) (CamelStore *store, + CamelException *ex); } CamelStoreClass; @@ -218,6 +220,9 @@ void camel_store_unsubscribe_folder (CamelStore *store, const char *folder_name, CamelException *ex); +void camel_store_noop (CamelStore *store, + CamelException *ex); + gboolean camel_store_uri_cmp (CamelStore *store, const char *uria, const char *urib); /* utility needed by some stores */ |