view plugins/perl/common/Network.xs @ 12031:bef758a67e48

[gaim-migrate @ 14324] These rapid IRC pings are a Really Bad Idea. I'm not sure how they got in, and I don't really want to know. In any case, I'm removing them. If we want to add a keepalive which fires only when there is a truly idle connection, and after some suitable delay, then that's fine ... but this was not that. committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Wed, 09 Nov 2005 19:02:48 +0000
parents b284c703d398
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