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
|
14267
|
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
|
14267
|
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
|