comparison 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
comparison
equal deleted inserted replaced
6455:cd0b5eaf9460 6456:ccfdf9f2cdd1
431 * @return The group or NULL if the group does not exist 431 * @return The group or NULL if the group does not exist
432 */ 432 */
433 struct group *gaim_find_group(const char *name); 433 struct group *gaim_find_group(const char *name);
434 434
435 /** 435 /**
436 * Finds a chat by name.
437 *
438 * @param name The chat's name.
439 *
440 * @return The chat, or @c NULL if the chat does not exist.
441 */
442 struct chat *gaim_blist_find_chat(GaimAccount *account, const char *name);
443
444 /**
445 * Returns the group of which the chat is a member.
446 *
447 * @param chat The chat.
448 *
449 * @return The parent group, or @c NULL if the chat is not in a group.
450 */
451 struct group *gaim_blist_chat_get_group(struct chat *chat);
452
453 /**
436 * Returns the group of which the buddy is a member. 454 * Returns the group of which the buddy is a member.
437 * 455 *
438 * @param buddy The buddy 456 * @param buddy The buddy
439 * @return The group or NULL if the buddy is not in a group 457 * @return The group or NULL if the buddy is not in a group
440 */ 458 */