Mercurial > pidgin.yaz
comparison libpurple/proxy.c @ 32513:06e0b6be6432
purple_proxy_connect_socks5() was deprecated in 2.8.0, and can be removed for 3.0.0.
author | andrew.victor@mxit.com |
---|---|
date | Mon, 05 Sep 2011 20:37:04 +0000 |
parents | ba74745ff179 |
children |
comparison
equal
deleted
inserted
replaced
32512:968a51c4fa9d | 32513:06e0b6be6432 |
---|---|
2406 handles = g_slist_prepend(handles, connect_data); | 2406 handles = g_slist_prepend(handles, connect_data); |
2407 | 2407 |
2408 return connect_data; | 2408 return connect_data; |
2409 } | 2409 } |
2410 | 2410 |
2411 PurpleProxyConnectData * | |
2412 purple_proxy_connect_socks5(void *handle, PurpleProxyInfo *gpi, | |
2413 const char *host, int port, | |
2414 PurpleProxyConnectFunction connect_cb, | |
2415 gpointer data) | |
2416 { | |
2417 return purple_proxy_connect_socks5_account(NULL, handle, gpi, | |
2418 host, port, connect_cb, data); | |
2419 } | |
2420 | |
2421 | |
2422 /* This is called when we connect to the SOCKS5 proxy server (through any | 2411 /* This is called when we connect to the SOCKS5 proxy server (through any |
2423 * relevant account proxy) | 2412 * relevant account proxy) |
2424 */ | 2413 */ |
2425 static void socks5_connected_to_proxy(gpointer data, gint source, | 2414 static void socks5_connected_to_proxy(gpointer data, gint source, |
2426 const gchar *error_message) { | 2415 const gchar *error_message) { |