view plugins/perl/common/BuddyList_Chat.xs @ 10828:9cf14a87eedc

[gaim-migrate @ 12494] La di da di committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 16 Apr 2005 16:05:40 +0000
parents d47e82ac9918
children
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_name(chat)
	Gaim::BuddyList::Chat chat
CODE:
	RETVAL = gaim_chat_get_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