From 00903a7e0f235f1825ba2c9b934e607ad77855c4 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 20 Dec 2001 18:45:22 +0000 Subject: Change the prototype for camel_address_get_type to return a CamelType 2001-12-20 Jeffrey Stedfast * camel-address.h: Change the prototype for camel_address_get_type to return a CamelType (since internally this is what it returns and also in case we decide to write a replacement for the current CamelObject it'd be easier to drop in). * camel-internet-address.h: Same but for camel_internet_address_get_type() * providers/smtp/camel-smtp-transport.c (smtp_send_to): Updated to use a CamelAddress of recipients. (smtp_send): Since smtp_send_to now takes a CamelAddress recipients argument, our lives have been simplified and we can now just concat To/Cc/Bcc into a recipients addr and send away. * providers/sendmail/camel-sendmail-transport.c (sendmail_send_to): Updated to use a CamelAddress of recipients. * camel-transport.c (camel_transport_send_to): Now takes a CamelAddress argument for the recipient list rather than a GList. svn path=/trunk/; revision=15197 --- camel/camel-transport.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'camel/camel-transport.h') diff --git a/camel/camel-transport.h b/camel/camel-transport.h index 5951d1145c..dbe9c54f38 100644 --- a/camel/camel-transport.h +++ b/camel/camel-transport.h @@ -59,9 +59,8 @@ typedef struct { gboolean (*can_send) (CamelTransport *transport, CamelMedium *message); gboolean (*send) (CamelTransport *transport, CamelMedium *message, CamelException *ex); - gboolean (*send_to) (CamelTransport *transport, - CamelMedium *message, GList *recipients, - CamelException *ex); + gboolean (*send_to) (CamelTransport *transport, CamelMedium *message, + CamelAddress *recipients, CamelException *ex); } CamelTransportClass; @@ -76,7 +75,7 @@ gboolean camel_transport_send (CamelTransport *transport, /* FIXME: This should use a camel-address */ gboolean camel_transport_send_to (CamelTransport *transport, CamelMedium *message, - GList *recipients, + CamelAddress *recipients, CamelException *ex); /* Standard Camel function */ -- cgit