Mercurial > pidgin
diff 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 |
line wrap: on
line diff
--- a/src/blist.h Wed Sep 17 03:22:44 2003 +0000 +++ b/src/blist.h Wed Sep 17 03:45:04 2003 +0000 @@ -505,14 +505,24 @@ /** * Finds the buddy struct given a screenname and an account * - * @param name The buddy's screenname or NULL to search for more buddies with the same screenname - * as the previous search + * @param name The buddy's screenname * @param account The account this buddy belongs to * @return The buddy or NULL if the buddy does not exist */ GaimBuddy *gaim_find_buddy(GaimAccount *account, const char *name); /** + * Finds the buddy struct given a screenname, an account, and a group + * + * @param name The buddy's screenname + * @param account The account this buddy belongs to + * @param group The group to look in + * @return The buddy or NULL if the buddy does not exist in the group + */ +GaimBuddy *gaim_find_buddy_in_group(GaimAccount *account, const char *name, + GaimGroup *group); + +/** * Finds all buddies struct given a screenname and an account * * @param name The buddy's screenname