aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers/local
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-09-29 06:38:08 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-09-29 06:38:08 +0800
commit61e47e195ea3084227b2a986e055bfdb7e18444b (patch)
treeaf5198b907c8cfaed97945b370e5b41ae467fedf /camel/providers/local
parente77919dfff8b7e026cb259572589b46d4a3a6e25 (diff)
downloadgsoc2013-evolution-61e47e195ea3084227b2a986e055bfdb7e18444b.tar
gsoc2013-evolution-61e47e195ea3084227b2a986e055bfdb7e18444b.tar.gz
gsoc2013-evolution-61e47e195ea3084227b2a986e055bfdb7e18444b.tar.bz2
gsoc2013-evolution-61e47e195ea3084227b2a986e055bfdb7e18444b.tar.lz
gsoc2013-evolution-61e47e195ea3084227b2a986e055bfdb7e18444b.tar.xz
gsoc2013-evolution-61e47e195ea3084227b2a986e055bfdb7e18444b.tar.zst
gsoc2013-evolution-61e47e195ea3084227b2a986e055bfdb7e18444b.zip
Init the nntp url hash and url_equal functions.
2001-09-28 Jeffrey Stedfast <fejj@ximian.com> * providers/nntp/camel-nntp-provider.c (camel_provider_module_init): Init the nntp url hash and url_equal functions. * providers/sendmail/camel-sendmail-provider.c (camel_provider_module_init): Init the sendmail url hash and url_equal functions. * providers/smtp/camel-smtp-provider.c (camel_provider_module_init): Init the smtp url hash and url_equal functions. * providers/pop3/camel-pop3-provider.c (camel_provider_module_init): Init the pop3 url hash and url_equal functions. * providers/imap/camel-imap-provider.c (camel_provider_module_init): Init the imap url hash and url_equal functions. * providers/local/camel-local-provider.c (camel_provider_module_init): Init the local url hash and url_equal functions. * camel-session.c (camel_session_class_init): Init the vfolder url hash and url_equal functions. * camel-provider.h: Added url_hash and url_equal function pointers to the structure. * camel-vtrash-folder.c (vtrash_move_messages_to): Oops, a CamelFolder is not a CamelFolderClass. svn path=/trunk/; revision=13237
Diffstat (limited to 'camel/providers/local')
-rw-r--r--camel/providers/local/camel-local-provider.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/camel/providers/local/camel-local-provider.c b/camel/providers/local/camel-local-provider.c
index 606416fc37..2ee5ea27ba 100644
--- a/camel/providers/local/camel-local-provider.c
+++ b/camel/providers/local/camel-local-provider.c
@@ -87,17 +87,25 @@ void camel_provider_module_init(CamelSession * session)
{
mh_provider.object_types[CAMEL_PROVIDER_STORE] = camel_mh_store_get_type();
mh_provider.service_cache = g_hash_table_new(camel_url_hash, camel_url_equal);
+ mh_provider.url_hash = camel_url_hash;
+ mh_provider.url_equal = camel_url_equal;
camel_session_register_provider(session, &mh_provider);
mbox_provider.object_types[CAMEL_PROVIDER_STORE] = camel_mbox_store_get_type();
mbox_provider.service_cache = g_hash_table_new(camel_url_hash, camel_url_equal);
+ mbox_provider.url_hash = camel_url_hash;
+ mbox_provider.url_equal = camel_url_equal;
camel_session_register_provider(session, &mbox_provider);
maildir_provider.object_types[CAMEL_PROVIDER_STORE] = camel_maildir_store_get_type();
maildir_provider.service_cache = g_hash_table_new(camel_url_hash, camel_url_equal);
+ maildir_provider.url_hash = camel_url_hash;
+ maildir_provider.url_equal = camel_url_equal;
camel_session_register_provider(session, &maildir_provider);
spool_provider.object_types[CAMEL_PROVIDER_STORE] = camel_spool_store_get_type();
spool_provider.service_cache = g_hash_table_new(camel_url_hash, camel_url_equal);
+ spool_provider.url_hash = camel_url_hash;
+ spool_provider.url_equal = camel_url_equal;
camel_session_register_provider(session, &spool_provider);
}