view libpurple/dbus-useful.h @ 29006:588fb0db1cd8

I'm not comfortable with this being an assert. If it fails then Pidgin crashes. I don't think a fatal check like this should exist in the init function of a prpl unless it's dangerous for the application to continue running. I can't imagine why that would be the case here. People also seem concerned about this struct definition: struct raw_chunk { guint8 type; guint32 length; gchar data[0]; } __attribute__ ((packed)); I'll probably investigate a little bit
author Mark Doliner <mark@kingant.net>
date Mon, 23 Nov 2009 00:19:33 +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);