From ba6b73fe56390dc752b43443701073fff7289709 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 4 May 2000 15:23:43 +0000 Subject: New function to replace camel_provider_scan. Returns a list of either (a) * camel-session.c (camel_session_list_providers): New function to replace camel_provider_scan. Returns a list of either (a) all currently-loaded providers, or (b) all available providers. * camel-url.[ch]: Add an "empty" flag to CamelURL (indicating that it contains only a protocol). * camel-service.c (camel_service_query_auth_types): Make this take a CamelException (since it may have to try to connect to the server, and it might not able to.) * providers/pop3/camel-pop3-store.c: add KPOP (Kerberized POP) support. This is mostly so I have two kinds of authmech to play with instead of just one. (But it does actually work.) * providers/smtp/camel-smtp-transport.c (query_auth_types): update for prototype change, but disable the functionality, since it doesn't really support any auth types yet. (camel_smtp_transport_get_type): add an object init function to set the service url_flags. svn path=/trunk/; revision=2797 --- camel/camel-service.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'camel/camel-service.h') diff --git a/camel/camel-service.h b/camel/camel-service.h index 7b04ef24a8..ffaf177543 100644 --- a/camel/camel-service.h +++ b/camel/camel-service.h @@ -71,7 +71,8 @@ typedef struct { gboolean (*is_connected) (CamelService *service); - GList * (*query_auth_types) (CamelService *service); + GList * (*query_auth_types) (CamelService *service, + CamelException *ex); void (*free_auth_types) (CamelService *service, GList *authtypes); @@ -111,7 +112,8 @@ gboolean camel_service_is_connected (CamelService *service); char * camel_service_get_url (CamelService *service); CamelSession * camel_service_get_session (CamelService *service); -GList * camel_service_query_auth_types (CamelService *service); +GList * camel_service_query_auth_types (CamelService *service, + CamelException *ex); void camel_service_free_auth_types (CamelService *service, GList *authtypes); -- cgit v1.2.3