diff options
author | bertrand <Bertrand.Guiheneuf@aful.org> | 1999-08-12 18:24:01 +0800 |
---|---|---|
committer | Bertrand Guiheneuf <bertrand@src.gnome.org> | 1999-08-12 18:24:01 +0800 |
commit | f888058fc6e6db2309336426662023502a461d5a (patch) | |
tree | d414fa4a003e9c3746980396061f4b54b4b49419 /camel/camel-provider.h | |
parent | a478ee7e9d44ea7947b2dc51fcf5d7f09735ee52 (diff) | |
download | gsoc2013-evolution-f888058fc6e6db2309336426662023502a461d5a.tar.gz 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-provider.h')
-rw-r--r-- | camel/camel-provider.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/camel/camel-provider.h b/camel/camel-provider.h index 3099efa265..d256d83c1a 100644 --- a/camel/camel-provider.h +++ b/camel/camel-provider.h @@ -54,6 +54,7 @@ typedef struct { void camel_provider_register (CamelProvider *provider); const CamelProvider *camel_provider_register_as_module (const gchar *module_path); +const CamelProvider *camel_provider_get_for_protocol (const gchar *protocol, ProviderType type); #ifdef __cplusplus |