comparison 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
comparison
equal deleted inserted replaced
5276:b353c171fd3c 5277:d7771fe33cbd
94 * A group. This contains everything Gaim will ever need to know about a group. 94 * A group. This contains everything Gaim will ever need to know about a group.
95 */ 95 */
96 struct group { 96 struct group {
97 GaimBlistNode node; /**< The node that this group inherits from */ 97 GaimBlistNode node; /**< The node that this group inherits from */
98 char *name; /**< The name of this group. */ 98 char *name; /**< The name of this group. */
99 int totalsize; /**< The number of buddies in this group */
100 int currentsize; /**< The number of buddies in this group corresponding to online accounts */
101 int online; /**< The number of buddies in this group who are currently online */
99 GHashTable *settings; /**< per-group settings from the XML buddy list, set by plugins and the likes. */ 102 GHashTable *settings; /**< per-group settings from the XML buddy list, set by plugins and the likes. */
100 }; 103 };
101 104
102 /** 105 /**
103 * A group. This contains everything Gaim needs to put a chat room in the 106 * A group. This contains everything Gaim needs to put a chat room in the