Mercurial > pidgin.yaz
view plugins/perl/common/Network.xs @ 11290:b284c703d398
[gaim-migrate @ 13490]
Did some house cleaning on the code finished up some of the "TODO" stuff
that was left over from when I originally did the XSUBs. Furthermore,
the dynamically loaded Perl package problems should be corrected now that
the context is set before one of the concurrent perl interpreters is run.
committer: Tailor Script <tailor@pidgin.im>
author | John H. Kelm <johnkelm@gmail.com> |
---|---|
date | Thu, 18 Aug 2005 01:35:14 +0000 |
parents | ecbbe6d18b0d |
children | d5b8f4dc1622 |
line wrap: on
line source
#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 unsigned 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