comparison src/list.h @ 4785:1e28e7d802a1

[gaim-migrate @ 5105] fix a few things, get rid of a few stale functions, and get rid of the compatibility functions. wee! committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sat, 15 Mar 2003 03:23:30 +0000
parents c4c28874ecd3
children 4691c5936c01
comparison
equal deleted inserted replaced
4784:b1365291f002 4785:1e28e7d802a1
109 void (*update)(struct gaim_buddy_list *list, 109 void (*update)(struct gaim_buddy_list *list,
110 GaimBlistNode *node); /**< This will update a node in the buddy list. */ 110 GaimBlistNode *node); /**< This will update a node in the buddy list. */
111 void (*remove)(struct gaim_buddy_list *list, 111 void (*remove)(struct gaim_buddy_list *list,
112 GaimBlistNode *node); /**< This removes a node from the list */ 112 GaimBlistNode *node); /**< This removes a node from the list */
113 void (*destroy)(struct gaim_buddy_list *list); /**< When the list gets destroyed, this gets called to destroy the UI. */ 113 void (*destroy)(struct gaim_buddy_list *list); /**< When the list gets destroyed, this gets called to destroy the UI. */
114 void (*set_visible)(struct gaim_buddy_list *list, 114 void (*set_visible)(struct gaim_buddy_list *list,
115 gboolean show); /**< Hides or unhides the buddy list */ 115 gboolean show); /**< Hides or unhides the buddy list */
116 116
117 }; 117 };
118
119 /**************************************************************************/
120 /** Public Utility Functions */
121 /**************************************************************************/
122 /*@{*/
123
124 /**
125 * Returns a GSList of the groups
126 */
127 GSList *gaim_blist_groups();
128
129 /**
130 * Returns a GSList of the members of a group node.
131 *
132 * It's obviously much faster to recurse the GaimBlistNode linked list
133 * then using this function. You should try to avoid using it. Only use it
134 * when you're about to make a milestone release in a few hours and are desperately
135 * trying to add a critical feature
136 *
137 * @param group The group
138 */
139 GSList *gaim_blist_members(struct group *group);
140 /*@}*/
141 118
142 /**************************************************************************/ 119 /**************************************************************************/
143 /** @name Buddy List API */ 120 /** @name Buddy List API */
144 /**************************************************************************/ 121 /**************************************************************************/
145 /*@{*/ 122 /*@{*/