Mercurial > pidgin
diff src/blist.h @ 12112:875f59f9c0bb
[gaim-migrate @ 14412]
A better interface for iterating the buddy list from none other than Sadrul
committer: Tailor Script <tailor@pidgin.im>
| author | Sean Egan <seanegan@gmail.com> |
|---|---|
| date | Wed, 16 Nov 2005 08:27:17 +0000 |
| parents | 980c877bd238 |
| children | 255e6912607b |
line wrap: on
line diff
--- a/src/blist.h Wed Nov 16 06:07:42 2005 +0000 +++ b/src/blist.h Wed Nov 16 08:27:17 2005 +0000 @@ -221,6 +221,16 @@ GaimBuddyList *gaim_get_blist(void); /** + * Returns the next node of a given node. This function is to be used to iterate + * over the tree returned by gaim_get_blist. + * + * @param node A node. + * @param offline Whether to include nodes for offline accounts + * @return The next node + */ +GaimBlistNode *gaim_blist_node_next(GaimBlistNode *node, gboolean offline); + +/** * Shows the buddy list, creating a new one if necessary. */ void gaim_blist_show();
