diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-05-02 09:15:01 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-05-02 09:15:01 +0800 |
commit | 15866e29c0a0c3bc943bb4929ef25dc68f5d4002 (patch) | |
tree | b1ced7fcf7d798dcdc78d8f55206bacb4737a858 /camel/camel-provider.h | |
parent | 9a7c54c193f2e231b274f70df7b124e87db67676 (diff) | |
download | gsoc2013-evolution-15866e29c0a0c3bc943bb4929ef25dc68f5d4002.tar.gz gsoc2013-evolution-15866e29c0a0c3bc943bb4929ef25dc68f5d4002.tar.zst gsoc2013-evolution-15866e29c0a0c3bc943bb4929ef25dc68f5d4002.zip |
Now takes a CamelURL argument rather than a GHashTable *settings argument.
2002-04-29 Jeffrey Stedfast <fejj@ximian.com>
* camel-provider.c (camel_provider_auto_detect): Now takes a
CamelURL argument rather than a GHashTable *settings argument.
svn path=/trunk/; revision=16661
Diffstat (limited to 'camel/camel-provider.h')
-rw-r--r-- | camel/camel-provider.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/camel/camel-provider.h b/camel/camel-provider.h index 606271050d..5579a8c3d7 100644 --- a/camel/camel-provider.h +++ b/camel/camel-provider.h @@ -37,6 +37,7 @@ extern "C" { #include <camel/camel-types.h> #include <camel/camel-object.h> #include <camel/camel-exception.h> +#include <camel/camel-url.h> #define CAMEL_PROVIDER(obj) ((CamelProvider *)(obj)) @@ -129,7 +130,7 @@ typedef struct { #define CAMEL_PROVIDER_CONF_DEFAULT_HOSTNAME { CAMEL_PROVIDER_CONF_LABEL, "hostname", NULL, N_("_Host:"), NULL } #define CAMEL_PROVIDER_CONF_DEFAULT_PATH { CAMEL_PROVIDER_CONF_ENTRY, "path", NULL, N_("_Path:"), "" } -typedef int (*CamelProviderAutoDetectFunc) (GHashTable *settings, GHashTable **auto_detected, CamelException *ex); +typedef int (*CamelProviderAutoDetectFunc) (CamelURL *url, GHashTable **auto_detected, CamelException *ex); typedef struct { /* Provider name used in CamelURLs. */ @@ -184,7 +185,7 @@ void camel_provider_load (CamelSession *session, const char *path, CamelExceptio void camel_provider_module_init (CamelSession *session); -int camel_provider_auto_detect (CamelProvider *provider, GHashTable *settings, +int camel_provider_auto_detect (CamelProvider *provider, CamelURL *url, GHashTable **auto_detected, CamelException *ex); #ifdef __cplusplus |