Mon, 16 Apr 2007 00:43:53 +0000
Commit a proper copy of this binary file. The old one was corrupted,
probably due to missing SVN attributes.
This was retrieved from the following URL, though we may have it in CVS:
http://dev.openwengo.com/trac/openwengo/trac.cgi/browser/vendors/gaim/trunk/doc/oscar/On_Sending_Files_via_OSCAR.odt?rev=4273
| 11118 | 1 | #include "module.h" |
| 2 | ||
| 3 | MODULE = Gaim::Network PACKAGE = Gaim::Network PREFIX = gaim_network_ | |
| 4 | PROTOTYPES: ENABLE | |
| 5 | ||
| 6 | const char * | |
| 7 | gaim_network_get_local_system_ip(fd) | |
| 8 | int fd | |
| 9 | ||
| 10 | const char * | |
| 11 | gaim_network_get_my_ip(fd) | |
| 12 | int fd | |
| 13 | ||
| 12773 | 14 | unsigned short |
| 11118 | 15 | gaim_network_get_port_from_fd(fd) |
| 16 | int fd | |
| 17 | ||
| 18 | const char * | |
| 19 | gaim_network_get_public_ip() | |
| 20 | ||
| 12773 | 21 | void |
| 11118 | 22 | gaim_network_init() |
| 23 | ||
|
11262
561da6ec5c26
[gaim-migrate @ 13440]
Mark Doliner <markdoliner@pidgin.im>
parents:
11118
diff
changeset
|
24 | const unsigned char * |
| 11118 | 25 | gaim_network_ip_atoi(ip) |
| 26 | const char *ip | |
| 27 | ||
| 12773 | 28 | int |
|
12910
e6c3213c28ec
[gaim-migrate @ 15263]
Daniel Atallah <datallah@pidgin.im>
parents:
12773
diff
changeset
|
29 | gaim_network_listen(port, socket_type, cb, cb_data) |
| 11118 | 30 | unsigned short port |
|
12730
f64fdbc34677
[gaim-migrate @ 15074]
Daniel Atallah <datallah@pidgin.im>
parents:
11290
diff
changeset
|
31 | int socket_type |
|
12910
e6c3213c28ec
[gaim-migrate @ 15263]
Daniel Atallah <datallah@pidgin.im>
parents:
12773
diff
changeset
|
32 | Gaim::NetworkListenCallback cb |
|
e6c3213c28ec
[gaim-migrate @ 15263]
Daniel Atallah <datallah@pidgin.im>
parents:
12773
diff
changeset
|
33 | gpointer cb_data |
| 11118 | 34 | |
| 12773 | 35 | int |
|
12910
e6c3213c28ec
[gaim-migrate @ 15263]
Daniel Atallah <datallah@pidgin.im>
parents:
12773
diff
changeset
|
36 | gaim_network_listen_range(start, end, socket_type, cb, cb_data) |
| 11118 | 37 | unsigned short start |
| 38 | unsigned short end | |
|
12730
f64fdbc34677
[gaim-migrate @ 15074]
Daniel Atallah <datallah@pidgin.im>
parents:
11290
diff
changeset
|
39 | int socket_type |
|
12910
e6c3213c28ec
[gaim-migrate @ 15263]
Daniel Atallah <datallah@pidgin.im>
parents:
12773
diff
changeset
|
40 | Gaim::NetworkListenCallback cb |
|
e6c3213c28ec
[gaim-migrate @ 15263]
Daniel Atallah <datallah@pidgin.im>
parents:
12773
diff
changeset
|
41 | gpointer cb_data |
| 11118 | 42 | |
| 12773 | 43 | void |
| 11118 | 44 | gaim_network_set_public_ip(ip) |
| 45 | const char *ip |