view pidgin/plugins/perl/common/GtkBlist.xs @ 28875:8464e695c62b

Fixes a bad MSN bug where passwords with multi-byte utf8 characters near the 16 byte mark would cause a segmentation fault due to chopping the multi-byte character and turning the string into invalidate utf8. Thanks to Shaun Lindsay at Meebo for tracking this down and fixing it.
author Mark Doliner <mark@kingant.net>
date Wed, 04 Nov 2009 18:41:21 +0000
parents e622745f6f42
children 6af7a00a6658
line wrap: on
line source

#include "gtkmodule.h"

MODULE = Pidgin::BuddyList  PACKAGE = Pidgin::BuddyList  PREFIX = pidgin_blist_
PROTOTYPES: ENABLE

Purple::Handle
pidgin_blist_get_handle()

Pidgin::BuddyList
pidgin_blist_get_default_gtk_blist()

void
pidgin_blist_refresh(list)
	Purple::BuddyList list

void
pidgin_blist_update_refresh_timeout()

gboolean
pidgin_blist_node_is_contact_expanded(node)
	Purple::BuddyList::Node node

void
pidgin_blist_toggle_visibility()

void
pidgin_blist_visibility_manager_add()

void
pidgin_blist_visibility_manager_remove()

void
pidgin_blist_get_sort_methods()
PREINIT:
	GList *l;
PPCODE:
	for (l = pidgin_blist_get_sort_methods(); l != NULL; l = l->next) {
		XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Pidgin::BuddyList::SortMethod")));
	}

void
pidgin_blist_sort_method_reg(id, name, func)
	const char * id
	const char * name
	Pidgin::BuddyList::SortFunction func

void
pidgin_blist_sort_method_unreg(id)
	const char * id

void
pidgin_blist_sort_method_set(id)
	const char * id

void
pidgin_blist_setup_sort_methods()

void
pidgin_blist_update_accounts_menu()

void
pidgin_blist_update_plugin_actions()

void
pidgin_blist_update_sort_methods()

gboolean
pidgin_blist_joinchat_is_showable()

void
pidgin_blist_joinchat_show()

void
pidgin_blist_update_account_error_state(account, message)
	Purple::Account account
	const char * message