diff options
author | Dan Winship <danw@src.gnome.org> | 2000-11-04 02:22:34 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-11-04 02:22:34 +0800 |
commit | 5a4fa8505d6a81836da77e2cc07e5fbd0cd21b7c (patch) | |
tree | 74b9a226512a2e46391933c1f6a2fd05e1bb4811 /camel/providers/smtp | |
parent | d428113c3aadafa3a23d27ed05954c49c0af84b0 (diff) | |
download | gsoc2013-evolution-5a4fa8505d6a81836da77e2cc07e5fbd0cd21b7c.tar.gz gsoc2013-evolution-5a4fa8505d6a81836da77e2cc07e5fbd0cd21b7c.tar.zst gsoc2013-evolution-5a4fa8505d6a81836da77e2cc07e5fbd0cd21b7c.zip |
Add an "url_flags" field to CamelProvider. Move the CAMEL_SERVICE_URL_*
* camel-provider.h: Add an "url_flags" field to CamelProvider.
Move the CAMEL_SERVICE_URL_* defines here and remove the SERVICE_
part of the name.
* camel-service.h: Remove CAMEL_SERVICE_URL_* flags and
service->url_flags field.
* camel-service.c (check_url, get_path): Get URL flags from
service->provider, update for changed flag names.
* providers/*/camel-*-provider.c: Add URL flags to provider
structures.
* providers/*/camel-*-{store,transport}.c, camel-remote-store.c:
Remove service->url_flags initialization.
svn path=/trunk/; revision=6370
Diffstat (limited to 'camel/providers/smtp')
-rw-r--r-- | camel/providers/smtp/camel-smtp-provider.c | 4 | ||||
-rw-r--r-- | camel/providers/smtp/camel-smtp-transport.c | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/camel/providers/smtp/camel-smtp-provider.c b/camel/providers/smtp/camel-smtp-provider.c index ca6116042c..6d94536937 100644 --- a/camel/providers/smtp/camel-smtp-provider.c +++ b/camel/providers/smtp/camel-smtp-provider.c @@ -38,7 +38,9 @@ static CamelProvider smtp_provider = { "mail", - 0, + CAMEL_PROVIDER_IS_REMOTE, + + CAMEL_URL_NEED_HOST, { 0, 0 }, diff --git a/camel/providers/smtp/camel-smtp-transport.c b/camel/providers/smtp/camel-smtp-transport.c index 62cd0b7525..6fa39bb930 100644 --- a/camel/providers/smtp/camel-smtp-transport.c +++ b/camel/providers/smtp/camel-smtp-transport.c @@ -107,11 +107,8 @@ static void camel_smtp_transport_init (gpointer object) { CamelTransport *transport = CAMEL_TRANSPORT (object); - CamelService *service = CAMEL_SERVICE (transport); transport->supports_8bit = FALSE; - - service->url_flags = CAMEL_SERVICE_URL_NEED_HOST; } CamelType |