diff libpurple/prpl.h @ 18920:2a9d60d7af82

Implemented a callback for unregistering, mirroring the registration callback. Since this is a new API, I can do it properly by passing it right in the unregister function call, instead of having a separate function for setting it.
author Andreas Monitzer <pidgin@monitzer.com>
date Tue, 31 Jul 2007 03:50:41 +0000
parents 033b128f7c21
children 472bcd9d502e
line wrap: on
line diff
--- a/libpurple/prpl.h	Mon Jul 30 00:05:02 2007 +0000
+++ b/libpurple/prpl.h	Tue Jul 31 03:50:41 2007 +0000
@@ -328,7 +328,7 @@
 	 * 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 (*unregister_user)(PurpleAccount *, PurpleAccountUnregistrationCb cb, void *user_data);
 	
 	void (*_purple_reserved1)(void);
 	void (*_purple_reserved2)(void);