--- a/libpurple/account.h Sun Nov 06 19:46:57 2011 +0000 +++ b/libpurple/account.h Sun Nov 06 20:31:14 2011 +0000 @@ -246,6 +246,15 @@ void purple_account_disconnect(PurpleAccount *account); /** + * Indicates if the account is currently being disconnected. + * + * @param account The account + * + * @return TRUE if the account is being disconnected. + */ +gboolean purple_account_is_disconnecting(const PurpleAccount *account); + +/** * Notifies the user that the account was added to a remote user's * buddy list. *