libpurple/purpleprotocolserver.h

changeset 41903
27f355b8b497
parent 41686
9bcd6ad114eb
child 42300
baa7adb7a495
--- a/libpurple/purpleprotocolserver.h	Mon Nov 07 23:28:31 2022 -0600
+++ b/libpurple/purpleprotocolserver.h	Mon Nov 07 23:29:57 2022 -0600
@@ -54,10 +54,6 @@
 
 /**
  * PurpleProtocolServerInterface:
- * @register_user: Register a new user.
- * @unregister_user: Remove the user from the server. The account can either be
- *                   connected or disconnected. After the removal is finished,
- *                   the connection will stay open and has to be closed!
  * @set_info: Sets the user's profile.
  * @get_info: Should arrange for purple_notify_userinfo() to be called with the
  *            requested user's profile.
@@ -93,9 +89,6 @@
 	GTypeInterface parent;
 
 	/*< public >*/
-	void (*register_user)(PurpleProtocolServer *protocol_server, PurpleAccount *account);
-	void (*unregister_user)(PurpleProtocolServer *protocol_server, PurpleAccount *account, PurpleAccountUnregistrationCb cb, gpointer data);
-
 	void (*set_info)(PurpleProtocolServer *protocol_server, PurpleConnection *connection, const gchar *info);
 	void (*get_info)(PurpleProtocolServer *protocol_server, PurpleConnection *connection, const gchar *who);
 
@@ -129,32 +122,6 @@
 };
 
 /**
- * purple_protocol_server_register_user:
- * @protocol_server: The #PurpleProtocolServer instance.
- * @account: The #PurpleAccount to register.
- *
- * Tell @protocol_server to register the new account described by @account.
- *
- * Since: 3.0.0
- */
-void purple_protocol_server_register_user(PurpleProtocolServer *protocol_server, PurpleAccount *account);
-
-/**
- * purple_protocol_server_unregister_user:
- * @protocol_server: The #PurpleProtocolServer instance.
- * @account: The #PurpleAccount instance.
- * @cb: (scope call): A PurpleAccountUnregistrationCb function.
- * @data: User data to pass to @cb.
- *
- * Unregisters @account with @protocol_server. The account can either be
- * connected or disconnected. After the removal is finished, the connection
- * will stay open and has to be closed.
- *
- * Since: 3.0.0
- */
-void purple_protocol_server_unregister_user(PurpleProtocolServer *protocol_server, PurpleAccount *account, PurpleAccountUnregistrationCb cb, gpointer data);
-
-/**
  * purple_protocol_server_set_info:
  * @protocol_server: The #PurpleProtocolServer instance.
  * @connection: The #PurpleConnection instance.

mercurial