diff options
author | Not Zed <NotZed@Ximian.com> | 2004-02-19 15:27:49 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-02-19 15:27:49 +0800 |
commit | 05e0ef6fea2f2feec010109142c8305c69e64c57 (patch) | |
tree | f01a116128a1e73d5971bf1ba1bfc711e292aaf4 /camel/camel-provider.h | |
parent | 8b86c88624f926a7122ab4dd39ebd26d0e839ab2 (diff) | |
download | gsoc2013-evolution-05e0ef6fea2f2feec010109142c8305c69e64c57.tar.gz gsoc2013-evolution-05e0ef6fea2f2feec010109142c8305c69e64c57.tar.zst gsoc2013-evolution-05e0ef6fea2f2feec010109142c8305c69e64c57.zip |
Fixes for api changes.
2004-02-19 Not Zed <NotZed@Ximian.com>
* providers/*/camel-*-provider.c
(camel_provider_module_init): Fixes for api changes.
* camel-provider.c (camel_provider_load): no longer take session
argument. the providers are global resources.
(camel_provider_init): dont return anything anymore. (error?)
call from camel_init now. Use a recursive lock too.
* camel-session.c (camel_session_register_provider)
(camel_session_list_providers, camel_session_get_provider): Moved
to camel-provider, camel_provider_register/list/get.
(vee_provider): moved to camel-provider.c
svn path=/trunk/; revision=24794
Diffstat (limited to 'camel/camel-provider.h')
-rw-r--r-- | camel/camel-provider.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/camel/camel-provider.h b/camel/camel-provider.h index fb64143f28..273c7554d2 100644 --- a/camel/camel-provider.h +++ b/camel/camel-provider.h @@ -192,11 +192,15 @@ struct _CamelProviderModule { int loaded:1; }; -GHashTable *camel_provider_init (void); -void camel_provider_load (CamelSession *session, const char *path, CamelException *ex); +void camel_provider_init(void); + +void camel_provider_load(const char *path, CamelException *ex); +void camel_provider_register(CamelProvider *provider); +GList *camel_provider_list(gboolean load); +CamelProvider *camel_provider_get(const char *url_string, CamelException *ex); /* This is defined by each module, not by camel-provider.c. */ -void camel_provider_module_init (CamelSession *session); +void camel_provider_module_init(void); int camel_provider_auto_detect (CamelProvider *provider, CamelURL *url, |