From f888058fc6e6db2309336426662023502a461d5a Mon Sep 17 00:00:00 2001 From: bertrand Date: Thu, 12 Aug 1999 10:24:01 +0000 Subject: new function: returns a store for an URL. 1999-08-12 bertrand * 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 --- camel/camel-provider.h | 1 + 1 file changed, 1 insertion(+) (limited to 'camel/camel-provider.h') 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 -- cgit v1.2.3