view plugins/perl/common/BuddyList_Chat.xs @ 10296:a7b2fd5efcf2

[gaim-migrate @ 11476] Some "random updates" updates from patch 1077274 by Felipe Contreras: "Some changes in the behaviour of slpcalls (for FT), free some unused structures and properly close switchboard connections." Looks good to me, and seems to have fixed a mysterious FT problem that I had been pretending didn't exist. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 02 Dec 2004 16:07:26 +0000
parents 7a8aa87164ae
children d47e82ac9918
line wrap: on
line source

#include "module.h"

MODULE = Gaim::BuddyList::Chat  PACKAGE = Gaim::BuddyList::Chat  PREFIX = gaim_chat_
PROTOTYPES: ENABLE

void
set_alias(chat, alias)
	Gaim::BuddyList::Chat chat
	const char *alias
CODE:
	gaim_blist_alias_chat(chat, alias);

const char *
gaim_chat_get_display_name(chat)
	Gaim::BuddyList::Chat chat
CODE:
	RETVAL = gaim_chat_get_display_name(chat);
OUTPUT:
	RETVAL

Gaim::BuddyList::Group
gaim_chat_get_group(chat)
	Gaim::BuddyList::Chat chat
CODE:
	RETVAL = gaim_chat_get_group(chat);
OUTPUT:
	RETVAL

Gaim::Account
get_account(chat)
	Gaim::BuddyList::Chat chat
CODE:
	RETVAL = chat->account;
OUTPUT:
	RETVAL