view libpurple/plugins/perl/common/Privacy.xs @ 23711:b0812ce0ec17

Patch from John Hanauer to enable formatted string entry field in perl plugins. Fixes #6506.
author Daniel Atallah <daniel.atallah@gmail.com>
date Thu, 07 Aug 2008 01:46:36 +0000
parents 2f8274ce570a
children 907f5f41e32a
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_init()

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