Mercurial > pidgin
annotate plugins/perl/common/Proxy.xs @ 14160:c8ebbc0110f4
[gaim-migrate @ 16808]
gaim_ssl_connect's are now cancelable (without crashing, anyway)
This was relatively easy, because the PRPLs already keep a reference
to the GaimSslConnection. I just needed to update the core ssl code
to keep track of the GaimProxyConnectInfo, and to call
gaim_proxy_connect_cancel() when gaim_ssl_close() is called
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 17 Aug 2006 05:47:10 +0000 |
parents | 96f9b4798012 |
children |
rev | line source |
---|---|
11118 | 1 #include "module.h" |
2 | |
3 MODULE = Gaim::Proxy PACKAGE = Gaim::Proxy PREFIX = gaim_proxy_ | |
4 PROTOTYPES: ENABLE | |
5 | |
6 Gaim::ProxyInfo | |
7 gaim_global_proxy_get_info() | |
8 | |
9 void * | |
10 gaim_proxy_get_handle() | |
11 | |
12773
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
12 void |
11118 | 13 gaim_proxy_info_destroy(info) |
14 Gaim::ProxyInfo info | |
15 | |
16 const char * | |
17 gaim_proxy_info_get_host(info) | |
18 Gaim::ProxyInfo info | |
19 | |
20 const char * | |
21 gaim_proxy_info_get_password(info) | |
22 Gaim::ProxyInfo info | |
23 | |
12773
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
24 int |
11118 | 25 gaim_proxy_info_get_port(info) |
26 Gaim::ProxyInfo info | |
27 | |
28 Gaim::ProxyType | |
29 gaim_proxy_info_get_type(info) | |
30 Gaim::ProxyInfo info | |
31 | |
32 const char * | |
33 gaim_proxy_info_get_username(info) | |
34 Gaim::ProxyInfo info | |
35 | |
36 Gaim::ProxyInfo | |
37 gaim_proxy_info_new() | |
38 | |
12773
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
39 void |
11118 | 40 gaim_proxy_info_set_host(info, host) |
41 Gaim::ProxyInfo info | |
42 const char *host | |
43 | |
12773
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
44 void |
11118 | 45 gaim_proxy_info_set_password(info, password) |
46 Gaim::ProxyInfo info | |
47 const char *password | |
48 | |
12773
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
49 void |
11118 | 50 gaim_proxy_info_set_port(info, port) |
51 Gaim::ProxyInfo info | |
52 int port | |
53 | |
12773
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
54 void |
11118 | 55 gaim_proxy_info_set_type(info, type) |
56 Gaim::ProxyInfo info | |
57 Gaim::ProxyType type | |
58 | |
12773
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
59 void |
11118 | 60 gaim_proxy_info_set_username(info, username) |
61 Gaim::ProxyInfo info | |
62 const char *username | |
63 | |
12773
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
64 void |
11118 | 65 gaim_proxy_init() |