Mercurial > pidgin
annotate libgaim/plugins/perl/common/Network.xs @ 15030:b598a78c4550
[gaim-migrate @ 17813]
Don't crash when getting info on someone on jabber with no resource name
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Wed, 22 Nov 2006 20:10:01 +0000 |
parents | d5c22258df09 |
children |
rev | line source |
---|---|
14192 | 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 | |
14 unsigned short | |
15 gaim_network_get_port_from_fd(fd) | |
16 int fd | |
17 | |
18 const char * | |
19 gaim_network_get_public_ip() | |
20 | |
21 void | |
22 gaim_network_init() | |
23 | |
24 const unsigned char * | |
25 gaim_network_ip_atoi(ip) | |
26 const char *ip | |
27 | |
14372
d5c22258df09
[gaim-migrate @ 17078]
Etan Reisner <pidgin@unreliablesource.net>
parents:
14267
diff
changeset
|
28 Gaim::NetworkListenData |
14192 | 29 gaim_network_listen(port, socket_type, cb, cb_data) |
30 unsigned short port | |
31 int socket_type | |
32 Gaim::NetworkListenCallback cb | |
33 gpointer cb_data | |
34 | |
14372
d5c22258df09
[gaim-migrate @ 17078]
Etan Reisner <pidgin@unreliablesource.net>
parents:
14267
diff
changeset
|
35 Gaim::NetworkListenData |
14192 | 36 gaim_network_listen_range(start, end, socket_type, cb, cb_data) |
37 unsigned short start | |
38 unsigned short end | |
39 int socket_type | |
40 Gaim::NetworkListenCallback cb | |
41 gpointer cb_data | |
42 | |
43 void | |
44 gaim_network_set_public_ip(ip) | |
45 const char *ip |