summaryrefslogtreecommitdiff
path: root/camel/camel-provider.c
diff options
context:
space:
mode:
authorSushma Rai <rsushma@src.gnome.org>2005-01-12 10:16:24 +0000
committerSushma Rai <rsushma@src.gnome.org>2005-01-12 10:16:24 +0000
commitb023a0fb3e051053efde8185a8192a7332fa7562 (patch)
treeac4f4961082c6584c00d6b88b9cad98cfb3eaf3e /camel/camel-provider.c
parentb92cee00da62c59566c2f358a2c49b09a0120c36 (diff)
downloadevolution-data-server-b023a0fb3e051053efde8185a8192a7332fa7562.tar.gz
Removed validate_user function and added a void pointer to the
camel provider structure, which can be used by any provider.
Diffstat (limited to 'camel/camel-provider.c')
-rw-r--r--camel/camel-provider.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/camel/camel-provider.c b/camel/camel-provider.c
index 574b02022..c3a9546bb 100644
--- a/camel/camel-provider.c
+++ b/camel/camel-provider.c
@@ -414,30 +414,3 @@ camel_provider_auto_detect (CamelProvider *provider, CamelURL *url,
return 0;
}
}
-
-/**
- * camel_provider_validate_user:
- *
- * @provider: camel provider
- * @camel_url: camel URL
- * @ex: exception
- * @url: Input url string, which provider uses.
- *
- * If url is read insted of hostname, the provider can authenticate
- * user, based on url and user name entered.
- *
- * If the provider does not support this, this just returns a TRUE.
- *
- * Returns TRUE on success or not supported, and FALSE on fail.
- **/
-gboolean
-camel_provider_validate_user (CamelProvider *provider, CamelURL *camel_url,
- char *url, CamelException *ex)
-{
- g_return_val_if_fail (provider != NULL, -1);
-
- if (provider->validate_user)
- return provider->validate_user (camel_url, url, ex);
- else
- return TRUE; /* FIXME */
-}