diff libpurple/connection.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 3afcfbed2ced
line wrap: on
line diff
--- a/libpurple/connection.h	Mon Jul 30 00:05:02 2007 +0000
+++ b/libpurple/connection.h	Tue Jul 31 03:50:41 2007 +0000
@@ -143,7 +143,7 @@
  * @param account  The account to unregister
  * @param password The password to use.
  */
-void purple_connection_new_unregister(PurpleAccount *account, const char *password);
+void purple_connection_new_unregister(PurpleAccount *account, const char *password, PurpleAccountUnregistrationCb cb, void *user_data);
 
 /**
  * Disconnects and destroys a PurpleConnection.