comparison src/list.h @ 4701:ac7ca2bd6d4f

[gaim-migrate @ 5012] now groups go away when they're empty, like you would think they should. also fixes a segfault if someone signs on and off very quickly. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Tue, 11 Mar 2003 03:59:42 +0000
parents 4bdd9a5fd026
children c4ebe1a8484b
comparison
equal deleted inserted replaced
4700:e52e19e33227 4701:ac7ca2bd6d4f
353 * @param account The account 353 * @param account The account
354 */ 354 */
355 void gaim_blist_remove_account(struct gaim_account *account); 355 void gaim_blist_remove_account(struct gaim_account *account);
356 356
357 357
358 /**
359 * Determines the total size of a group
360 *
361 * @param group The group
362 * @param offline Count buddies in offline accounts
363 * @return The number of buddies in the group
364 */
365 int gaim_blist_get_group_size(struct group *group, gboolean offline);
366
367 /**
368 * Determines the number of online buddies in a group
369 *
370 * @param group The group
371 * @return The number of online buddies in the group, or 0 if the group is NULL
372 */
373 int gaim_blist_get_group_online_count(struct group *group);
374
358 /*@}*/ 375 /*@}*/
359 376
360 /****************************************************************************************/ 377 /****************************************************************************************/
361 /** @name Buddy list file management API */ 378 /** @name Buddy list file management API */
362 /****************************************************************************************/ 379 /****************************************************************************************/