diff src/proxy.h @ 8262:b5dbd1839716

[gaim-migrate @ 8985] this is jabber new-style file transfer receive support. this doesn't do much error checking or handling, but I managed to send pictures to myself from Exodus on my laptop in the living room, which would have taken twice as long were it not for VNC. i said i was going to bed 1, 2, and 3 hours ago. i should go to bed. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 15 Feb 2004 10:11:38 +0000
parents fa6395637e2c
children f24172f53650
line wrap: on
line diff
--- a/src/proxy.h	Sun Feb 15 08:51:32 2004 +0000
+++ b/src/proxy.h	Sun Feb 15 10:11:38 2004 +0000
@@ -238,6 +238,20 @@
 int gaim_proxy_connect(GaimAccount *account, const char *host, int port,
 					   GaimInputFunction func, gpointer data);
 
+/**
+ * Makes a connection through a SOCKS5 proxy.
+ *
+ * @param gpi     The GaimProxyInfo specifying the proxy settings
+ * @param host    The destination host.
+ * @param port    The destination port.
+ * @param func    The input handler function.
+ * @param data    User-defined data.
+ *
+ * @return The socket handle.
+ */
+int gaim_proxy_connect_socks5(GaimProxyInfo *gpi, const char *host, int port,
+					   GaimInputFunction func, gpointer data);
+
 /*@}*/
 
 #ifdef __cplusplus