diff libpurple/prpl.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/prpl.h	Thu Jul 26 01:32:21 2007 +0000
+++ b/libpurple/prpl.h	Mon Jul 30 00:01:08 2007 +0000
@@ -323,11 +323,16 @@
 
 	/* room list serialize */
 	char *(*roomlist_room_serialize)(PurpleRoomlistRoom *room);
+
+	/* Remove the user from the server. (This is only at the bottom to keep binary compatibility.)
+	 * The account can either be connected or disconnected. After the removal is finished,
+	 * the connection will stay open and has to be closed!
+	 */
+	void (*unregister_user)(PurpleAccount *);
 	
 	void (*_purple_reserved1)(void);
 	void (*_purple_reserved2)(void);
 	void (*_purple_reserved3)(void);
-	void (*_purple_reserved4)(void);
 };
 
 #define PURPLE_IS_PROTOCOL_PLUGIN(plugin) \