view plugins/perl/common/Network.xs @ 11249:b4b1be482b4e

[gaim-migrate @ 13418] sf patch #1235519, from Sadrul Habib Chowdhury This is a pretty big patch that makes Gaim correctly save and restore the current status (away/available, away message, available message, invisible, etc). The GaimGtkStatusBoxWidget thing I think defaults to "Available" every time its created, which overrides the setting that was saved to the XML file. So that still needs to be fixed before this will really work. Anyway, mad props to Sadrul for putting up with my requests on this patch committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 13 Aug 2005 05:22:09 +0000
parents 134d0001983d
children ecbbe6d18b0d
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 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