view plugins/perl/common/Network.xs @ 12791:6312f6e69eea

[gaim-migrate @ 15138] And still more whitespace, namespace, and return type stuff. committer: Tailor Script <tailor@pidgin.im>
author Etan Reisner <pidgin@unreliablesource.net>
date Mon, 09 Jan 2006 08:42:13 +0000
parents 96f9b4798012
children 3097275dbbdd
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, socket_type)
	unsigned short port
	int socket_type

int
gaim_network_listen_range(start, end, socket_type)
	unsigned short start
	unsigned short end
	int socket_type

void
gaim_network_set_public_ip(ip)
	const char *ip