aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-session.h
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>1999-08-12 18:24:01 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-08-12 18:24:01 +0800
commitf888058fc6e6db2309336426662023502a461d5a (patch)
treed414fa4a003e9c3746980396061f4b54b4b49419 /camel/camel-session.h
parenta478ee7e9d44ea7947b2dc51fcf5d7f09735ee52 (diff)
downloadgsoc2013-evolution-f888058fc6e6db2309336426662023502a461d5a.tar
gsoc2013-evolution-f888058fc6e6db2309336426662023502a461d5a.tar.gz
gsoc2013-evolution-f888058fc6e6db2309336426662023502a461d5a.tar.bz2
gsoc2013-evolution-f888058fc6e6db2309336426662023502a461d5a.tar.lz
gsoc2013-evolution-f888058fc6e6db2309336426662023502a461d5a.tar.xz
gsoc2013-evolution-f888058fc6e6db2309336426662023502a461d5a.tar.zst
gsoc2013-evolution-f888058fc6e6db2309336426662023502a461d5a.zip
new function: returns a store for an URL.
1999-08-12 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-session.c (camel_session_get_store): new function: returns a store for an URL. (camel_session_get_store_for_protocol): new functionc: returns a store for a given store protocol (as IMAP/POP/MH ...) * camel/string-utils.c (g_strcase_equal): (g_strcase_hash): case insensitive hash table funcs. * camel/camel-session.c (camel_session_init): hash table keys are case insensitive. * camel/camel-provider.c (camel_provider_get_for_protocol): new function, returns the last registered provider for a protocol. svn path=/trunk/; revision=1106
Diffstat (limited to 'camel/camel-session.h')
-rw-r--r--camel/camel-session.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/camel/camel-session.h b/camel/camel-session.h
index 0fb881ea72..9bec37851a 100644
--- a/camel/camel-session.h
+++ b/camel/camel-session.h
@@ -73,6 +73,8 @@ GtkType camel_session_get_type (void);
void camel_session_set_provider (CamelSession *session, CamelProvider *provider);
+CamelStore *camel_session_get_store_for_protocol (CamelSession *session, const gchar *protocol);
+CamelStore *camel_session_get_store (CamelSession *session, const gchar *url_string);
#ifdef __cplusplus