comparison src/blist.h @ 5758:666b04f93c55

[gaim-migrate @ 6183] Now buddies who are in two groups on your list will have their statuses updated for both. gaim_find_buddy can be used in a loop to find all buddies with the specified name on an account. As such, gaim_find_buddy is somewhat slower, but considering that people tend to have far fewer groups than buddies the performance isn't hurt that much. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Thu, 05 Jun 2003 15:37:35 +0000
parents 187c740f2a4e
children 5e93fc46d1af
comparison
equal deleted inserted replaced
5757:f5773332fbed 5758:666b04f93c55
382 char *gaim_get_buddy_alias(struct buddy *buddy); 382 char *gaim_get_buddy_alias(struct buddy *buddy);
383 383
384 /** 384 /**
385 * Finds the buddy struct given a screenname and an account 385 * Finds the buddy struct given a screenname and an account
386 * 386 *
387 * @param name The buddy's screenname 387 * @param name The buddy's screenname or NULL to search for more buddies with the same screenname
388 * as the previous search
388 * @param account The account this buddy belongs to 389 * @param account The account this buddy belongs to
389 * @return The buddy or NULL if the buddy does not exist 390 * @return The buddy or NULL if the buddy does not exist
390 */ 391 */
391 struct buddy *gaim_find_buddy(GaimAccount *account, const char *name); 392 struct buddy *gaim_find_buddy(GaimAccount *account, const char *name);
392 393