view plugins/perl/common/Proxy.xs @ 13219:d0f7f698b6de

[gaim-migrate @ 15583] SF Patch #1428591 from Sadrul "This is a new signal, emitted when request for a file-transfer comes in. I have written a trivial plugin (which I plan on adding under plugin_pack in a couple of days) that uses this signal to auto-accept file-transfers. I have tested the plugin to auto-accept or auto-reject file-transfer requests." I also noticed that the file transfer signals weren't using a subtype for GaimXfer pointers, so I added one. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Sat, 11 Feb 2006 05:24:30 +0000
parents 96f9b4798012
children
line wrap: on
line source

#include "module.h"

MODULE = Gaim::Proxy  PACKAGE = Gaim::Proxy  PREFIX = gaim_proxy_
PROTOTYPES: ENABLE

Gaim::ProxyInfo
gaim_global_proxy_get_info()

void *
gaim_proxy_get_handle()

void
gaim_proxy_info_destroy(info)
	Gaim::ProxyInfo info

const char *
gaim_proxy_info_get_host(info)
	Gaim::ProxyInfo info

const char *
gaim_proxy_info_get_password(info)
	Gaim::ProxyInfo info

int
gaim_proxy_info_get_port(info)
	Gaim::ProxyInfo info

Gaim::ProxyType
gaim_proxy_info_get_type(info)
	Gaim::ProxyInfo info

const char *
gaim_proxy_info_get_username(info)
	Gaim::ProxyInfo info

Gaim::ProxyInfo
gaim_proxy_info_new()

void
gaim_proxy_info_set_host(info, host)
	Gaim::ProxyInfo info
	const char *host

void
gaim_proxy_info_set_password(info, password)
	Gaim::ProxyInfo info
	const char *password

void
gaim_proxy_info_set_port(info, port)
	Gaim::ProxyInfo info
	int port

void
gaim_proxy_info_set_type(info, type)
	Gaim::ProxyInfo info
	Gaim::ProxyType type

void
gaim_proxy_info_set_username(info, username)
	Gaim::ProxyInfo info
	const char *username

void
gaim_proxy_init()