how to get the buddy list

"Marco Trevisan (Treviño)" mail at 3v1n0.net
Thu Apr 30 11:06:25 EDT 2009


frederico schardong wrote:
> How I get the buddy list for some msn account and show it with a printf?

In my first tests I was able to get it, as an example, adding something
like this in the signed signed_on() function of the nullclient.c

PurpleBlistNode *node;
for (node = purple_blist_get_root(); node;
 		node = purple_blist_node_next(node, FALSE)) {
 		if (node)
 			printf("Contact: %s\n", node);
 	}


By the way I'm not sure that this is the right way; I'm still a newbie
here :P

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/




More information about the Devel mailing list