| 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 |