Mercurial > pidgin
view libgaim/plugins/perl/common/Network.xs @ 14364:338ac096e322
[gaim-migrate @ 17070]
Disabled GTK+ components of the Perl plugin (we'll no longer support gtk-perl prefs frames until this is refactored into a gtkgaim plugin somehow).
Fix gaim_util_fetch_url and plug some leaks.
I haven't successfully tested gaim_util_fetch_url from perl yet - it doesn't seem to actually pass the retrieved text to the plugin sub correctly yet.
The syntax for calling gaim_util_fetch_url() from perl is also funky and should be made more consistent to the C function.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Mon, 28 Aug 2006 20:27:03 +0000 |
parents | 645598a4ec04 |
children | d5c22258df09 |
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