Mercurial > pidgin.yaz
comparison src/proxy.h @ 1840:00aef397a1fe
[gaim-migrate @ 1850]
reworked some of the proxy stuff so that it's non-blocking now. next thing to do is to get IRC, MSN, Napster, and Jabber to use the new proxy_connect code. After that, Oscar and Yahoo (maybe Zephyr too? not likely)
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Sat, 12 May 2001 01:38:04 +0000 |
| parents | 56c7ceb986a8 |
| children | 4dbd8533d209 |
comparison
equal
deleted
inserted
replaced
| 1839:109cacf1ff97 | 1840:00aef397a1fe |
|---|---|
| 28 | 28 |
| 29 #include <sys/types.h> | 29 #include <sys/types.h> |
| 30 #include <sys/socket.h> | 30 #include <sys/socket.h> |
| 31 #include <netdb.h> | 31 #include <netdb.h> |
| 32 #include <netinet/in.h> | 32 #include <netinet/in.h> |
| 33 #include <gtk/gtk.h> | |
| 33 | 34 |
| 34 #define PROXY_NONE 0 | 35 #define PROXY_NONE 0 |
| 35 #define PROXY_HTTP 1 | 36 #define PROXY_HTTP 1 |
| 36 #define PROXY_SOCKS4 2 | 37 #define PROXY_SOCKS4 2 |
| 37 #define PROXY_SOCKS5 3 | 38 #define PROXY_SOCKS5 3 |
| 38 | 39 |
| 39 extern int proxy_connect(char *host, int port, char *proxyhost, int proxyport, int proxytype); | 40 extern int proxy_connect(char *host, int port, |
| 41 char *proxyhost, int proxyport, int proxytype, | |
| 42 GdkInputFunction func, gpointer data); | |
| 40 | 43 |
| 41 #endif | 44 #endif |
