view libpurple/plugins/perl/common/Privacy.xs @ 25262:df6d3c3574ce

Make Purple::PluginPref->get_bounds be more perl-like. It no longer expects to be called as: $ppref->get_bounds($min, $max) or $ppref->get_bounds(\$min, \$max) (I'm not even sure which one of those was intended to be correct, but apparently they both crash.) It now expects to be called like this: my ($min, $max) = $ppref->get_bounds();
author Etan Reisner <pidgin@unreliablesource.net>
date Tue, 06 Jan 2009 05:36:39 +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