diff options
author | Dan Winship <danw@src.gnome.org> | 2002-03-11 08:53:49 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2002-03-11 08:53:49 +0800 |
commit | b1b809031f5a11223d97ee02d21fb6bb3693a367 (patch) | |
tree | 60bdae233e7421dde0564d0296c9767550f372c1 /camel/ChangeLog | |
parent | 592ec9daac1b91f89036d2a3598f7f1fa6b6cbaa (diff) | |
download | gsoc2013-evolution-b1b809031f5a11223d97ee02d21fb6bb3693a367.tar gsoc2013-evolution-b1b809031f5a11223d97ee02d21fb6bb3693a367.tar.gz gsoc2013-evolution-b1b809031f5a11223d97ee02d21fb6bb3693a367.tar.bz2 gsoc2013-evolution-b1b809031f5a11223d97ee02d21fb6bb3693a367.tar.lz gsoc2013-evolution-b1b809031f5a11223d97ee02d21fb6bb3693a367.tar.xz gsoc2013-evolution-b1b809031f5a11223d97ee02d21fb6bb3693a367.tar.zst gsoc2013-evolution-b1b809031f5a11223d97ee02d21fb6bb3693a367.zip |
Remove this: it couldn't be generically used, because different subclasses
* camel-tcp-stream.c (camel_tcp_stream_get_socket): Remove this:
it couldn't be generically used, because different subclasses
returned entirely different types of data.
(camel_tcp_stream_get_local_address,
camel_tcp_stream_get_remote_address): Add these to replace what
get_socket was being used for.
(camel_tcp_address_new, camel_tcp_address_free): Utility functions
for get_{local,remote}_address.
* providers/smtp/camel-smtp-transport.c: Change localaddr to a
CamelTcpAddress *.
(connect_to_server): Call camel_tcp_stream_get_local_address to
get the local IP address.
(smtp_disconnect): free localaddr.
(smtp_helo): Update for localaddr change.
* camel-tcp-stream-raw.c (stream_get_socket): Remove
(stream_get_local_address, stream_get_remote_address): Implement.
* camel-tcp-stream-ssl.c (stream_get_socket): Remove
(stream_get_local_address, stream_get_remote_address): Implement.
* camel-tcp-stream-openssl.c (stream_get_socket): Remove
(stream_get_local_address, stream_get_remote_address): Implement.
svn path=/trunk/; revision=16092
Diffstat (limited to 'camel/ChangeLog')
-rw-r--r-- | camel/ChangeLog | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 2f4d8f4b71..04ac36003d 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,30 @@ +2002-03-10 Dan Winship <danw@ximian.com> + + * camel-tcp-stream.c (camel_tcp_stream_get_socket): Remove this: + it couldn't be generically used, because different subclasses + returned entirely different types of data. + (camel_tcp_stream_get_local_address, + camel_tcp_stream_get_remote_address): Add these to replace what + get_socket was being used for. + (camel_tcp_address_new, camel_tcp_address_free): Utility functions + for get_{local,remote}_address. + + * providers/smtp/camel-smtp-transport.c: Change localaddr to a + CamelTcpAddress *. + (connect_to_server): Call camel_tcp_stream_get_local_address to + get the local IP address. + (smtp_disconnect): free localaddr. + (smtp_helo): Update for localaddr change. + + * camel-tcp-stream-raw.c (stream_get_socket): Remove + (stream_get_local_address, stream_get_remote_address): Implement. + + * camel-tcp-stream-ssl.c (stream_get_socket): Remove + (stream_get_local_address, stream_get_remote_address): Implement. + + * camel-tcp-stream-openssl.c (stream_get_socket): Remove + (stream_get_local_address, stream_get_remote_address): Implement. + 2002-03-08 Jeffrey Stedfast <fejj@ximian.com> * providers/pop3/camel-pop3-provider.c |