# HG changeset patch # User andrew.victor@mxit.com # Date 1315255024 0 # Node ID 06e0b6be6432e59bc4f44891865c8cb1664173f3 # Parent 968a51c4fa9d7eea09906fa1dc7ecf7da6b7c747 purple_proxy_connect_socks5() was deprecated in 2.8.0, and can be removed for 3.0.0. diff -r 968a51c4fa9d -r 06e0b6be6432 ChangeLog.API --- a/ChangeLog.API Mon Sep 05 20:16:47 2011 +0000 +++ b/ChangeLog.API Mon Sep 05 20:37:04 2011 +0000 @@ -129,6 +129,7 @@ * purple_plugins_unregister_unload_notify_cb * purple_presence_add_status * purple_presence_add_list + * purple_proxy_connect_socks5 * purple_srv_cancel * purple_srv_resolve_account * purple_status_set_attr_boolean diff -r 968a51c4fa9d -r 06e0b6be6432 libpurple/proxy.c --- a/libpurple/proxy.c Mon Sep 05 20:16:47 2011 +0000 +++ b/libpurple/proxy.c Mon Sep 05 20:37:04 2011 +0000 @@ -2408,17 +2408,6 @@ return connect_data; } -PurpleProxyConnectData * -purple_proxy_connect_socks5(void *handle, PurpleProxyInfo *gpi, - const char *host, int port, - PurpleProxyConnectFunction connect_cb, - gpointer data) -{ - return purple_proxy_connect_socks5_account(NULL, handle, gpi, - host, port, connect_cb, data); -} - - /* This is called when we connect to the SOCKS5 proxy server (through any * relevant account proxy) */ diff -r 968a51c4fa9d -r 06e0b6be6432 libpurple/proxy.h --- a/libpurple/proxy.h Mon Sep 05 20:16:47 2011 +0000 +++ b/libpurple/proxy.h Mon Sep 05 20:37:04 2011 +0000 @@ -307,35 +307,6 @@ const char *host, int port, PurpleProxyConnectFunction connect_cb, gpointer data); -#if !(defined PURPLE_DISABLE_DEPRECATED) || (defined _PURPLE_PROXY_C_) -/** - * Makes a connection through a SOCKS5 proxy. - * - * @param handle A handle that should be associated with this - * connection attempt. The handle can be used - * to cancel the connection attempt using the - * purple_proxy_connect_cancel_with_handle() - * function. - * @param gpi The PurpleProxyInfo specifying the proxy settings - * @param host The destination host. - * @param port The destination port. - * @param connect_cb The function to call when the connection is - * established. If the connection failed then - * fd will be -1 and error message will be set - * to something descriptive (hopefully). - * @param data User-defined data. - * - * @return NULL if there was an error, or a reference to an - * opaque data structure that can be used to cancel - * the pending connection, if needed. - * @deprecated Use purple_proxy_connect_socks5_account instead - */ -PurpleProxyConnectData *purple_proxy_connect_socks5(void *handle, - PurpleProxyInfo *gpi, - const char *host, int port, - PurpleProxyConnectFunction connect_cb, gpointer data); -#endif - /** * Cancel an in-progress connection attempt. This should be called * by the PRPL if the user disables an account while it is still