Mercurial > pidgin
annotate plugins/perl/common/Proxy.xs @ 13253:87a7c3077c19
[gaim-migrate @ 15619]
More cleaning up of oscar. Renamed some functions to be more clear.
Got rid of some stuff that wasn't used. Inlined some small things
in conn.c that were only used once.
The goals of all this are
1. Non-blocking I/O for all connections
2. p2p stuff won't use the same struct as oscar connections, because
that's stupid
3. The oscar PRPL should be less scary
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Sun, 12 Feb 2006 21:27:04 +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() |
