Mercurial > pidgin
view libgaim/plugins/perl/common/Network.xs @ 14372:d5c22258df09
[gaim-migrate @ 17078]
Reenable the perl build on non-Windows. I'm looking at making a gtk perl
plugin to use the gtk stuff, we'll see if I succeed. I'm leaving the gtk stuff
in here but ifdef:d out for now. I'll clean it up if I get the gtk perl plugin
working.
committer: Tailor Script <tailor@pidgin.im>
author | Etan Reisner <pidgin@unreliablesource.net> |
---|---|
date | Tue, 29 Aug 2006 04:15:29 +0000 |
parents | 645598a4ec04 |
children |
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 Gaim::NetworkListenData gaim_network_listen(port, socket_type, cb, cb_data) unsigned short port int socket_type Gaim::NetworkListenCallback cb gpointer cb_data Gaim::NetworkListenData gaim_network_listen_range(start, end, socket_type, cb, cb_data) unsigned short start unsigned short end int socket_type Gaim::NetworkListenCallback cb gpointer cb_data void gaim_network_set_public_ip(ip) const char *ip