plugins/perl/common/Network.xs

Sun, 30 Oct 2005 23:00:47 +0000

author
Evan Schoenberg <evands@pidgin.im>
date
Sun, 30 Oct 2005 23:00:47 +0000
changeset 11907
de3ea77afe3c
parent 11290
136722ebf145
child 12730
f64fdbc34677
permissions
-rw-r--r--

[gaim-migrate @ 14198]
sf patch #1342817, from Evan Schoenberg
"As discussed in #gaim, this patch removes idle.c and replaces it
with gtkidle.c and gtkidle.h. The attached diff removes the idle
management from its various hiding places in connection.c, server.c,
and gaim.h. The plugins Changelog.API is appropriately updated.
The new gtkidle files are attached; idle.c should be removed from
CVS."

committer: Mark Doliner <markdoliner@pidgin.im>

#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

mercurial