view libpurple/dbus-useful.h @ 15533:92107f572ac6

Fix SF Bug #1644796 In old_logger_read, we call g_markup_escape_text() on data from the filesystem without verifying that it's valid UTF-8. Bj«Órn Voigt says this can cause crashes. I have no idea if that's true or not, but either way, we should always be validating data on the way in. I've refactored some code to eliminate duplication and make things clearer. I'm also avoiding an unnecessary g_strdup() of the entire conversation in txt_logger_read() in some cases.
author Richard Laager <rlaager@wiktel.com>
date Sun, 04 Feb 2007 06:46:31 +0000
parents 5fe8042783c1
children 32c366eeeb99
line wrap: on
line source

#include "conversation.h"

GaimAccount *gaim_accounts_find_ext(const char *name, const char *protocol_id,
				    gboolean (*account_test)(const GaimAccount *account));

GaimAccount *gaim_accounts_find_any(const char *name, const char *protocol);

GaimAccount *gaim_accounts_find_connected(const char *name, const char *protocol);