diff 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
line wrap: on
line diff
--- a/src/list.h	Tue Mar 11 02:19:50 2003 +0000
+++ b/src/list.h	Tue Mar 11 03:59:42 2003 +0000
@@ -355,6 +355,23 @@
 void gaim_blist_remove_account(struct gaim_account *account);
 
 
+/**
+ * Determines the total size of a group
+ *
+ * @param group  The group
+ * @param offline Count buddies in offline accounts
+ * @return The number of buddies in the group
+ */
+int gaim_blist_get_group_size(struct group *group, gboolean offline);
+
+/**
+ * Determines the number of online buddies in a group
+ *
+ * @param group The group
+ * @return The number of online buddies in the group, or 0 if the group is NULL
+ */
+int gaim_blist_get_group_online_count(struct group *group);
+
 /*@}*/
 
 /****************************************************************************************/