view libpurple/dbus-useful.h @ 19621:cab5dd8da484

Handle the case where gethostname() fails or returns a null hostname. This really shouldn't happen on a properly configured system, but its failure also should not prevent us from being able to log into IRC. Fixes #2932
author Ethan Blanton <elb@pidgin.im>
date Mon, 03 Sep 2007 23:15:11 +0000
parents 32c366eeeb99
children
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);