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
|
|
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
|
|
22 void
|
|
23 gaim_network_init()
|
|
24
|
|
25
|
11262
|
26 const unsigned char *
|
11118
|
27 gaim_network_ip_atoi(ip)
|
|
28 const char *ip
|
|
29
|
|
30 int
|
|
31 gaim_network_listen(port)
|
|
32 unsigned short port
|
|
33
|
|
34 int
|
|
35 gaim_network_listen_range(start, end)
|
|
36 unsigned short start
|
|
37 unsigned short end
|
|
38
|
|
39 void
|
|
40 gaim_network_set_public_ip(ip)
|
|
41 const char *ip
|
|
42
|