diff libpurple/account.h @ 18703:033b128f7c21

Added unregistering XMPP accounts. This requires a new prpl-struct entry, but I got an ok for that on the mailing list.
author Andreas Monitzer <pidgin@monitzer.com>
date Mon, 30 Jul 2007 00:01:08 +0000
parents 5c1ed6296b56
children 2a9d60d7af82
line wrap: on
line diff
--- a/libpurple/account.h	Thu Jul 26 01:32:21 2007 +0000
+++ b/libpurple/account.h	Mon Jul 30 00:01:08 2007 +0000
@@ -161,6 +161,13 @@
 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.