src/list.h

changeset 4770
be590660a9c2
parent 4765
7849a1d4807d
child 4785
9af09a0b5ac1
--- a/src/list.h	Fri Mar 14 08:27:13 2003 +0000
+++ b/src/list.h	Fri Mar 14 11:38:21 2003 +0000
@@ -82,8 +82,6 @@
 struct group {
 	GaimBlistNode node;                    /**< The node that this group inherits from */
 	char *name;                            /**< The name of this group. */
-	GSList *members;                       /**< The buddies in this group.  This is different from node.child in that it will only
-						  contain buddies. */
 };
 
 
@@ -119,6 +117,29 @@
 }; 
 
 /**************************************************************************/
+/** Public Utility Functions                                              */
+/**************************************************************************/
+/*@{*/
+
+/**
+ * Returns a GSList of the groups
+ */
+GSList *gaim_blist_groups();
+
+/**
+ *  Returns a GSList of the members of a group node.
+ *
+ * It's obviously much faster to recurse the GaimBlistNode linked list
+ * then using this function.  You should try to avoid using it.  Only use it
+ * when you're about to make a milestone release in a few hours and are desperately
+ * trying to add a critical feature
+ *
+ * @param group The group
+ */
+GSList *gaim_blist_members(struct group *group);
+/*@}*/
+
+/**************************************************************************/
 /** @name Buddy List API                                                  */
 /**************************************************************************/
 /*@{*/
@@ -294,7 +315,6 @@
  */
 void gaim_blist_remove_group(struct group *group);
 
-
 /**
  * Returns the alias of a buddy.
  *

mercurial