view libpurple/plugins/perl/common/Privacy.xs @ 31819:70ff869a74d1

Open an explorer.exe window at the location of the file when clicking on a file link instead of executing the file, because executing a file can be potentially dangerous. Problem discovered by James Burton of Insomnia Security. Fixed by Eion Robb.
author Mark Doliner <mark@kingant.net>
date Thu, 18 Aug 2011 08:38:23 +0000
parents e3f30a73a793
children
line wrap: on
line source

#include "module.h"

MODULE = Purple::Privacy  PACKAGE = Purple::Privacy  PREFIX = purple_privacy_
PROTOTYPES: ENABLE

gboolean
purple_privacy_permit_add(account, name, local_only)
	Purple::Account account
	const char * name
	gboolean local_only

gboolean
purple_privacy_permit_remove(account, name, local_only)
	Purple::Account account
	const char * name
	gboolean local_only

gboolean
purple_privacy_deny_add(account, name, local_only)
	Purple::Account account
	const char * name
	gboolean local_only

gboolean
purple_privacy_deny_remove(account, name, local_only)
	Purple::Account account
	const char * name
	gboolean local_only

gboolean
purple_privacy_check(account, who)
	Purple::Account account
	const char * who