Mercurial > pidgin
changeset 17833:f41a561e3b7b
New API name change, per request of Sean.
author | Andreas Monitzer <pidgin@monitzer.com> |
---|---|
date | Tue, 05 Jun 2007 16:31:20 +0000 |
parents | 2e93ee8d3083 |
children | a75079eae085 |
files | libpurple/protocols/jabber/jabber.c libpurple/sslconn.c libpurple/sslconn.h |
diffstat | 3 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/jabber.c Tue Jun 05 15:33:36 2007 +0000 +++ b/libpurple/protocols/jabber/jabber.c Tue Jun 05 16:31:20 2007 +0000 @@ -504,7 +504,7 @@ { purple_input_remove(js->gc->inpa); js->gc->inpa = 0; - js->gsc = purple_ssl_connect_with_host_fd(js->gc->account, js->fd, + js->gsc = purple_ssl_connect_fd_with_host(js->gc->account, js->fd, jabber_login_callback_ssl, jabber_ssl_connect_failure, js->serverFQDN, js->gc); }
--- a/libpurple/sslconn.c Tue Jun 05 15:33:36 2007 +0000 +++ b/libpurple/sslconn.c Tue Jun 05 16:31:20 2007 +0000 @@ -157,11 +157,11 @@ PurpleSslErrorFunction error_func, void *data) { - return purple_ssl_connect_with_host_fd(account, fd, func, error_func, NULL, data); + return purple_ssl_connect_fd_with_host(account, fd, func, error_func, NULL, data); } PurpleSslConnection * -purple_ssl_connect_with_host_fd(PurpleAccount *account, int fd, +purple_ssl_connect_fd_with_host(PurpleAccount *account, int fd, PurpleSslInputFunction func, PurpleSslErrorFunction error_func, const char *host,
--- a/libpurple/sslconn.h Tue Jun 05 15:33:36 2007 +0000 +++ b/libpurple/sslconn.h Tue Jun 05 16:31:20 2007 +0000 @@ -154,7 +154,7 @@ /** * Makes a SSL connection using an already open file descriptor. - * DEPRECATED. Use purple_ssl_connect_with_host_fd instead. + * @deprecated Use purple_ssl_connect_fd_with_host instead. * * @param account The account making the connection. * @param fd The file descriptor. @@ -181,7 +181,7 @@ * * @return The SSL connection handle. */ -PurpleSslConnection *purple_ssl_connect_with_host_fd(PurpleAccount *account, int fd, +PurpleSslConnection *purple_ssl_connect_fd_with_host(PurpleAccount *account, int fd, PurpleSslInputFunction func, PurpleSslErrorFunction error_func, const char *host,