comparison src/proxy.c @ 338:9d258a0aa560

[gaim-migrate @ 348] Whoa, all kinds of things happened here. The applet looks better. The preferences dialog changes based on your compile-time options (oscar, gnome). Whispering works again. libfaim got updated; it can almost do RVOUS stuff, and hopefully soon can make requests too. The applet doesn't need to have its sounds go through GNOME, although it still can. There is code to facilitate SOCKS5 support (all that needs to be done is to actually write the code to communicate with the proxy server). committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 06 Jun 2000 09:55:30 +0000
parents 5b28ef2b550e
children b402a23f35df
comparison
equal deleted inserted replaced
337:f5b199e20d12 338:9d258a0aa560
172 free(inputline); 172 free(inputline);
173 } 173 }
174 174
175 return ret; 175 return ret;
176 break; 176 break;
177 case PROXY_SOCKS: /* Socks v4 proxy (? I'm not a proxy hacker) */ 177 case PROXY_SOCKS4: /* Socks v4 proxy (? I'm not a proxy hacker) */
178 /* this is going to be a cross between the HTTP proxy code 178 /* this is going to be a cross between the HTTP proxy code
179 * above and the TiK proxy code, translated from tcl->C */ 179 * above and the TiK proxy code, translated from tcl->C */
180 { 180 {
181 struct hostent *hostinfo; 181 struct hostent *hostinfo;
182 unsigned short shortport = proxy_port; 182 unsigned short shortport = proxy_port;
226 return -1; 226 return -1;
227 } 227 }
228 } 228 }
229 return ret; 229 return ret;
230 break; 230 break;
231 case PROXY_SOCKS5:
232 return -1;
233 break;
231 default: 234 default:
232 fprintf(stderr,"Unknown proxy type : %d.\n",proxy_type); 235 fprintf(stderr,"Unknown proxy type : %d.\n",proxy_type);
233 break; 236 break;
234 } 237 }
235 return(-1); 238 return(-1);