summaryrefslogtreecommitdiff
path: root/libpurple/account.h
diff options
context:
space:
mode:
authorGary Kramlich <grim@reaperworld.com>2022-11-07 23:29:57 -0600
committerGary Kramlich <grim@reaperworld.com>2022-11-07 23:29:57 -0600
commit396123132884efb49a8da97179a441298912844a (patch)
tree79bfbb6d8dbf8bb970a5870a5d7e96006efc6232 /libpurple/account.h
parent2c9c7d2cbf543ac6d158a27e4f692edce25c558b (diff)
downloadpidgin-396123132884efb49a8da97179a441298912844a.tar.gz
Remove the ability to register new accounts.
XMPP is the only in-tree protocol with torchat and telegram being the others that support this. I'm not opposed to bringing this back somehow, but this current form has to go as it's way too complicated. Testing Done: Compiled Reviewed at https://reviews.imfreedom.org/r/2047/
Diffstat (limited to 'libpurple/account.h')
-rw-r--r--libpurple/account.h43
1 files changed, 0 insertions, 43 deletions
diff --git a/libpurple/account.h b/libpurple/account.h
index cf6dbbeb7f..e157d53780 100644
--- a/libpurple/account.h
+++ b/libpurple/account.h
@@ -34,8 +34,6 @@
typedef struct _PurpleAccount PurpleAccount;
typedef gboolean (*PurpleFilterAccountFunc)(PurpleAccount *account);
-typedef void (*PurpleAccountRegistrationCb)(PurpleAccount *account, gboolean succeeded, void *user_data);
-typedef void (*PurpleAccountUnregistrationCb)(PurpleAccount *account, gboolean succeeded, void *user_data);
#include "buddy.h"
#include "connection.h"
@@ -137,47 +135,6 @@ const gchar *purple_account_get_id(PurpleAccount *account);
void purple_account_connect(PurpleAccount *account);
/**
- * purple_account_set_register_callback:
- * @account: The account for which this callback should be used
- * @cb: (scope call): The callback
- * @user_data: The user data passed to the callback
- *
- * Sets the callback for successful registration.
- */
-void purple_account_set_register_callback(PurpleAccount *account, PurpleAccountRegistrationCb cb, void *user_data);
-
-/**
- * purple_account_register:
- * @account: The account to register.
- *
- * Registers an account.
- */
-void purple_account_register(PurpleAccount *account);
-
-/**
- * purple_account_register_completed:
- * @account: The account being registered.
- * @succeeded: Was the account registration successful?
- *
- * Registration of the account was completed.
- * Calls the registration call-back set with purple_account_set_register_callback().
- *
- * Since: 3.0.0
- */
-void purple_account_register_completed(PurpleAccount *account, gboolean succeeded);
-
-/**
- * purple_account_unregister:
- * @account: The account to unregister.
- * @cb: (scope call): Optional callback to be called when unregistration is
- * complete
- * @user_data: user data to pass to the callback
- *
- * Unregisters an account (deleting it from the server).
- */
-void purple_account_unregister(PurpleAccount *account, PurpleAccountUnregistrationCb cb, void *user_data);
-
-/**
* purple_account_disconnect:
* @account: The account to disconnect from.
*