summaryrefslogtreecommitdiff
path: root/libpurple/account.h
diff options
context:
space:
mode:
authorAndreas Monitzer <pidgin@monitzer.com>2007-07-30 00:01:08 (GMT)
committerAndreas Monitzer <pidgin@monitzer.com>2007-07-30 00:01:08 (GMT)
commit80cc4d49a06f9ddb59aa80bae62c27b0cd130864 (patch)
tree34a660898457e45ce7e32626129c8fd5a62dc706 /libpurple/account.h
parent0f3faa1d1ce174901595ca2fa0520cb73840645f (diff)
downloadpidgin-80cc4d49a06f9ddb59aa80bae62c27b0cd130864.tar.gz
pidgin-80cc4d49a06f9ddb59aa80bae62c27b0cd130864.tar.xz
Added unregistering XMPP accounts. This requires a new prpl-struct entry, but I got an ok for that on the mailing list.
Diffstat (limited to 'libpurple/account.h')
-rw-r--r--libpurple/account.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libpurple/account.h b/libpurple/account.h
index 3f5c6d7..2d193a3 100644
--- a/libpurple/account.h
+++ b/libpurple/account.h
@@ -161,6 +161,13 @@ void purple_account_set_register_callback(PurpleAccount *account, PurpleAccountR
void purple_account_register(PurpleAccount *account);
/**
+ * Unregisters an account (deleting it from the server).
+ *
+ * @param account The account to unregister.
+ */
+void purple_account_unregister(PurpleAccount *account);
+
+/**
* Disconnects from an account.
*
* @param account The account to disconnect from.