Mercurial > pidgin
diff plugins/perl/common/Network.xs @ 11118:134d0001983d
[gaim-migrate @ 13174]
Some new xsubs for the perl interpreter and a work around to get it all working again.
committer: Tailor Script <tailor@pidgin.im>
author | John H. Kelm <johnkelm@gmail.com> |
---|---|
date | Mon, 18 Jul 2005 13:37:38 +0000 |
parents | |
children | ecbbe6d18b0d |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/plugins/perl/common/Network.xs Mon Jul 18 13:37:38 2005 +0000 @@ -0,0 +1,43 @@ +#include "module.h" + +MODULE = Gaim::Network PACKAGE = Gaim::Network PREFIX = gaim_network_ +PROTOTYPES: ENABLE + + +const char * +gaim_network_get_local_system_ip(fd) + int fd + +const char * +gaim_network_get_my_ip(fd) + int fd + +unsigned short +gaim_network_get_port_from_fd(fd) + int fd + +const char * +gaim_network_get_public_ip() + + +void +gaim_network_init() + + +const char * +gaim_network_ip_atoi(ip) + const char *ip + +int +gaim_network_listen(port) + unsigned short port + +int +gaim_network_listen_range(start, end) + unsigned short start + unsigned short end + +void +gaim_network_set_public_ip(ip) + const char *ip +