view plugins/perl/common/Network.xs @ 11684:c1906dc6257c

[gaim-migrate @ 13970] "This patch fixes the tab-color change prob (hopefully this is the last one in the series). Bleeter also thinks I have nailed it this time." -- Sadrul Habib Chowdhury This also seems to fix a case of it I was having this morning. committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Mon, 17 Oct 2005 16:42:10 +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