view libpurple/plugins/perl/common/Privacy.xs @ 23656:907f5f41e32a

Remove a bunch of *_init() and *_uninit() functions that don't make sense for Perl plugins to call. Plug a couple leaks. Mark a couple functions that need to be fixed.
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 07 Aug 2008 03:10:44 +0000
parents 2f8274ce570a
children e3f30a73a793
line wrap: on
line source

#include "module.h"

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

Purple::Privacy::UiOps
purple_privacy_get_ui_ops()

void
purple_privacy_set_ui_ops(ops)
	Purple::Privacy::UiOps ops

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