libpurple/purpleprotocolserver.h

changeset 42684
bec3fdb35826
parent 42656
df9aafbae930
child 42705
e78a46048ae7
--- a/libpurple/purpleprotocolserver.h	Thu Apr 11 02:57:34 2024 -0500
+++ b/libpurple/purpleprotocolserver.h	Thu Apr 11 03:49:22 2024 -0500
@@ -72,9 +72,6 @@
 	void (*remove_buddy)(PurpleProtocolServer *protocol_server, PurpleConnection *connection, PurpleBuddy *buddy, PurpleGroup *group);
 	void (*remove_buddies)(PurpleProtocolServer *protocol_server, PurpleConnection *connection, GList *buddies, GList *groups);
 
-	void (*keepalive)(PurpleProtocolServer *protocol_server, PurpleConnection *connection);
-	gint (*get_keepalive_interval)(PurpleProtocolServer *protocol_server);
-
 	void (*alias_buddy)(PurpleProtocolServer *protocol_server, PurpleConnection *connection, const gchar *who, const gchar *alias);
 
 	void (*group_buddy)(PurpleProtocolServer *protocol_server, PurpleConnection *connection, const gchar *who, const gchar *old_group, const gchar *new_group);
@@ -212,47 +209,6 @@
 void purple_protocol_server_remove_buddies(PurpleProtocolServer *protocol_server, PurpleConnection *connection, GList *buddies, GList *groups);
 
 /**
- * purple_protocol_server_keepalive:
- * @protocol_server: The #PurpleProtocolServer instance.
- * @connection: The #PurpleConnection instance.
- *
- * Tell @protocol_server to send its keep alive to the server.
- *
- * Since: 3.0
- */
-PURPLE_AVAILABLE_IN_3_0
-void purple_protocol_server_keepalive(PurpleProtocolServer *protocol_server, PurpleConnection *connection);
-
-/**
- * purple_protocol_server_get_keepalive_interval:
- * @protocol_server: The #PurpleProtocolServer instance.
- *
- * Returns a custom interval, in seconds, that libpurple should tell
- * @protocol_server to send its keepalive.
- *
- * Returns: The interval, in seconds, that the keep-alive function should be
- *          called.
- *
- * Since: 3.0
- */
-PURPLE_AVAILABLE_IN_3_0
-gint purple_protocol_server_get_keepalive_interval(PurpleProtocolServer *protocol_server);
-
-/**
- * purple_protocol_server_alias_buddy:
- * @protocol_server: The #PurpleProtocolServer instance.
- * @connection: The #PurpleConnection instance.
- * @who: The name of the user to alias.
- * @alias: The new alias for @who.
- *
- * Sets the server side alias for @who to @alias.
- *
- * Since: 3.0
- */
-PURPLE_AVAILABLE_IN_3_0
-void purple_protocol_server_alias_buddy(PurpleProtocolServer *protocol_server, PurpleConnection *connection, const gchar *who, const gchar *alias);
-
-/**
  * purple_protocol_server_group_buddy:
  * @protocol_server: The #PurpleProtocolServer instance.
  * @connection: The #PurpleConnection instance.

mercurial