comparison src/blist.h @ 13484:51c6405049a3

[gaim-migrate @ 15860] This provides a way to get the root node of the buddy list, as previously the only way was to grab gaimbuddylist->root directly; this is a problem if you want to traverse the buddy list via, e.g., D-bus. committer: Tailor Script <tailor@pidgin.im>
author Ethan Blanton <elb@pidgin.im>
date Fri, 10 Mar 2006 02:20:56 +0000
parents 248b8b39c671
children a092ea4edd4e
comparison
equal deleted inserted replaced
13483:bd77abf05a12 13484:51c6405049a3
211 * @return The main buddy list. 211 * @return The main buddy list.
212 */ 212 */
213 GaimBuddyList *gaim_get_blist(void); 213 GaimBuddyList *gaim_get_blist(void);
214 214
215 /** 215 /**
216 * Returns the root node of the main buddy list.
217 *
218 * @return The root node.
219 */
220 GaimBlistNode *gaim_blist_get_root(void);
221
222 /**
216 * Returns the next node of a given node. This function is to be used to iterate 223 * Returns the next node of a given node. This function is to be used to iterate
217 * over the tree returned by gaim_get_blist. 224 * over the tree returned by gaim_get_blist.
218 * 225 *
219 * @param node A node. 226 * @param node A node.
220 * @param offline Whether to include nodes for offline accounts 227 * @param offline Whether to include nodes for offline accounts