view pidgin/plugins/perl/common/GtkLog.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 6e1967b0f90b
children
line wrap: on
line source

#include "gtkmodule.h"

MODULE = Pidgin::Log  PACKAGE = Pidgin::Log  PREFIX = pidgin_log_
PROTOTYPES: ENABLE

Purple::Handle
pidgin_log_get_handle()

void
pidgin_log_show(type, buddyname, account)
	Purple::LogType type
	const char * buddyname
	Purple::Account account

void
pidgin_log_show_contact(contact)
	Purple::BuddyList::Contact contact

MODULE = Pidgin::Log  PACKAGE = Pidgin::SysLog  PREFIX = pidgin_syslog_
PROTOTYPES: ENABLE

void
pidgin_syslog_show()