Mercurial > pidgin
comparison src/proxy.c @ 12246:b7a51e68d0b8
[gaim-migrate @ 14548]
Make some things static and namespace session_init and session_end
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Mon, 28 Nov 2005 06:20:06 +0000 |
| parents | c5f12ada46d1 |
| children | 9ed903d0c619 |
comparison
equal
deleted
inserted
replaced
| 12245:465ddcb3e9e8 | 12246:b7a51e68d0b8 |
|---|---|
| 50 GSList *hosts; | 50 GSList *hosts; |
| 51 }; | 51 }; |
| 52 | 52 |
| 53 static void try_connect(struct PHB *); | 53 static void try_connect(struct PHB *); |
| 54 | 54 |
| 55 const char* socks5errors[] = { | 55 static const char *socks5errors[] = { |
| 56 "succeeded\n", | 56 "succeeded\n", |
| 57 "general SOCKS server failure\n", | 57 "general SOCKS server failure\n", |
| 58 "connection not allowed by ruleset\n", | 58 "connection not allowed by ruleset\n", |
| 59 "Network unreachable\n", | 59 "Network unreachable\n", |
| 60 "Host unreachable\n", | 60 "Host unreachable\n", |
| 269 static GSList *free_dns_children = NULL; | 269 static GSList *free_dns_children = NULL; |
| 270 static GQueue *queued_requests = NULL; | 270 static GQueue *queued_requests = NULL; |
| 271 | 271 |
| 272 static int number_of_dns_children = 0; | 272 static int number_of_dns_children = 0; |
| 273 | 273 |
| 274 const int MAX_DNS_CHILDREN = 2; | 274 static const int MAX_DNS_CHILDREN = 2; |
| 275 | 275 |
| 276 typedef struct { | 276 typedef struct { |
| 277 char hostname[512]; | 277 char hostname[512]; |
| 278 int port; | 278 int port; |
| 279 } dns_params_t; | 279 } dns_params_t; |
