Mercurial > pidgin.yaz
diff src/blist.h @ 6456:ccfdf9f2cdd1
[gaim-migrate @ 6965]
Conversation placement by group now applies to chats in the buddy list as
well. Also added functions for finding a chat by name, and getting its
parent group.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Wed, 13 Aug 2003 21:08:29 +0000 |
parents | 9083f92e0d58 |
children | 70d5122bc3ff |
line wrap: on
line diff
--- a/src/blist.h Wed Aug 13 20:13:06 2003 +0000 +++ b/src/blist.h Wed Aug 13 21:08:29 2003 +0000 @@ -433,6 +433,24 @@ struct group *gaim_find_group(const char *name); /** + * Finds a chat by name. + * + * @param name The chat's name. + * + * @return The chat, or @c NULL if the chat does not exist. + */ +struct chat *gaim_blist_find_chat(GaimAccount *account, const char *name); + +/** + * Returns the group of which the chat is a member. + * + * @param chat The chat. + * + * @return The parent group, or @c NULL if the chat is not in a group. + */ +struct group *gaim_blist_chat_get_group(struct chat *chat); + +/** * Returns the group of which the buddy is a member. * * @param buddy The buddy