view libpurple/dbus-useful.h @ 29058:86204988c522

jabber: Treat JabberBuddy->resources as a sorted list. Instead of having jabber_buddy_find_resource() do a bunch of calculations, just do all those when presence changes. The first entry in the list is the highest-priority resource.
author Paul Aurich <paul@darkrain42.org>
date Mon, 15 Feb 2010 06:07:53 +0000
parents 32c366eeeb99
children 98520ee78f12
line wrap: on
line source

#include "conversation.h"

PurpleAccount *purple_accounts_find_ext(const char *name, const char *protocol_id,
				    gboolean (*account_test)(const PurpleAccount *account));

PurpleAccount *purple_accounts_find_any(const char *name, const char *protocol);

PurpleAccount *purple_accounts_find_connected(const char *name, const char *protocol);