Mercurial > pidgin
diff src/blist.h @ 5277:d7771fe33cbd
[gaim-migrate @ 5649]
paco-paco made group counts of online and total buddies O(1) a while back also
since we haven't seen any problems with it, this is now going in.
committer: Tailor Script <tailor@pidgin.im>
| author | Luke Schierer <lschiere@pidgin.im> |
|---|---|
| date | Thu, 01 May 2003 18:24:17 +0000 |
| parents | 750e4801819f |
| children | 3c7748b24410 |
line wrap: on
line diff
--- a/src/blist.h Thu May 01 17:53:38 2003 +0000 +++ b/src/blist.h Thu May 01 18:24:17 2003 +0000 @@ -96,6 +96,9 @@ struct group { GaimBlistNode node; /**< The node that this group inherits from */ char *name; /**< The name of this group. */ + int totalsize; /**< The number of buddies in this group */ + int currentsize; /**< The number of buddies in this group corresponding to online accounts */ + int online; /**< The number of buddies in this group who are currently online */ GHashTable *settings; /**< per-group settings from the XML buddy list, set by plugins and the likes. */ };
