aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-session.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@HelixCode.com>2000-05-31 06:35:40 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-05-31 06:35:40 +0800
commit631dda8ae0829b1fb7b503348de541e3fe2027c5 (patch)
treeb809428b7c6e01cf6bce0513b7ab20f436b0352a /camel/camel-session.h
parenta9ddc24118d91139784cb0ce99789a739fdc5978 (diff)
downloadgsoc2013-evolution-631dda8ae0829b1fb7b503348de541e3fe2027c5.tar.gz
gsoc2013-evolution-631dda8ae0829b1fb7b503348de541e3fe2027c5.tar.zst
gsoc2013-evolution-631dda8ae0829b1fb7b503348de541e3fe2027c5.zip
Init filter_from to NULL, for exception case. (mbox_get_message_by_uid):
2000-05-30 Not Zed <NotZed@HelixCode.com> * providers/mbox/camel-mbox-folder.c (mbox_append_message): Init filter_from to NULL, for exception case. (mbox_get_message_by_uid): Cast off_t to long int for diagnostics. * camel-url.c (camel_url_hash): Hash funciton for using camel url's as hash keys. (camel_url_equal): equal function for same. * camel-session.c (camel_session_finalise): Free cached services. (camel_session_init): Init service cache. (service_cache_remove): destroy callback to remove a service from the cache. * camel-store.c (get_folder_internal): Remove the extra ref of the folder. That seems the right behaviour ...? (camel_store_get_type): Doh, actually call store init, so the cache works. (cache_folder): strdup the folder name! no wonder it never found it again. svn path=/trunk/; revision=3298
Diffstat (limited to 'camel/camel-session.h')
-rw-r--r--camel/camel-session.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/camel/camel-session.h b/camel/camel-session.h
index 81f8a3da85..e6a6b2ffc2 100644
--- a/camel/camel-session.h
+++ b/camel/camel-session.h
@@ -53,7 +53,9 @@ struct _CamelSession
CamelAuthCallback authenticator;
- GHashTable *providers, *modules;
+ GHashTable *providers,
+ *modules,
+ *service_cache;
};
typedef struct {