comparison src/blist.h @ 6872:dd0eecfbe413

[gaim-migrate @ 7418] ok, these are some tweaks i've made to core code working on the new jabber plugin. - add gaim_find_buddy_in_group() that searches a specific group instead of the entire list. kinda handy. - re-did the base64 encoding function. i think it may have been broken, i'm not sure, but this i know works. - fix the formatted notify dialog to be more to my liking, and to have a working Close button. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Wed, 17 Sep 2003 03:45:04 +0000
parents 8ab95f4c9800
children d4b4229bcd21
comparison
equal deleted inserted replaced
6871:714fc8f45cf2 6872:dd0eecfbe413
503 const char *gaim_blist_chat_get_name(GaimBlistChat *chat); 503 const char *gaim_blist_chat_get_name(GaimBlistChat *chat);
504 504
505 /** 505 /**
506 * Finds the buddy struct given a screenname and an account 506 * Finds the buddy struct given a screenname and an account
507 * 507 *
508 * @param name The buddy's screenname or NULL to search for more buddies with the same screenname 508 * @param name The buddy's screenname
509 * as the previous search
510 * @param account The account this buddy belongs to 509 * @param account The account this buddy belongs to
511 * @return The buddy or NULL if the buddy does not exist 510 * @return The buddy or NULL if the buddy does not exist
512 */ 511 */
513 GaimBuddy *gaim_find_buddy(GaimAccount *account, const char *name); 512 GaimBuddy *gaim_find_buddy(GaimAccount *account, const char *name);
513
514 /**
515 * Finds the buddy struct given a screenname, an account, and a group
516 *
517 * @param name The buddy's screenname
518 * @param account The account this buddy belongs to
519 * @param group The group to look in
520 * @return The buddy or NULL if the buddy does not exist in the group
521 */
522 GaimBuddy *gaim_find_buddy_in_group(GaimAccount *account, const char *name,
523 GaimGroup *group);
514 524
515 /** 525 /**
516 * Finds all buddies struct given a screenname and an account 526 * Finds all buddies struct given a screenname and an account
517 * 527 *
518 * @param name The buddy's screenname 528 * @param name The buddy's screenname