| 269 * invite message. |
269 * invite message. |
| 270 * @keepalive: If implemented, this will be called regularly for this |
270 * @keepalive: If implemented, this will be called regularly for this |
| 271 * protocol's active connections. You'd want to do this if you |
271 * protocol's active connections. You'd want to do this if you |
| 272 * need to repeatedly send some kind of keepalive packet to |
272 * need to repeatedly send some kind of keepalive packet to |
| 273 * the server to avoid being disconnected. ("Regularly" is |
273 * the server to avoid being disconnected. ("Regularly" is |
| 274 * defined by <literal>KEEPALIVE_INTERVAL</literal> in |
274 * defined to be 30 unless get_keepalive_interval() is |
| |
275 * implemented to override it). |
| 275 * <filename>libpurple/connection.c</filename>.) |
276 * <filename>libpurple/connection.c</filename>.) |
| |
277 * @get_keepalive_interval: If implemented, this will override the default |
| |
278 * keepalive interval. |
| 276 * @alias_buddy: Save/store buddy's alias on server list/roster |
279 * @alias_buddy: Save/store buddy's alias on server list/roster |
| 277 * @group_buddy: Change a buddy's group on a server list/roster |
280 * @group_buddy: Change a buddy's group on a server list/roster |
| 278 * @rename_group: Rename a group on a server list/roster |
281 * @rename_group: Rename a group on a server list/roster |
| 279 * @set_buddy_icon: Set the buddy icon for the given connection to @img. The |
282 * @set_buddy_icon: Set the buddy icon for the given connection to @img. The |
| 280 * protocol does <emphasis>NOT</emphasis> own a reference to |
283 * protocol does <emphasis>NOT</emphasis> own a reference to |
| 349 PurpleGroup *group); |
352 PurpleGroup *group); |
| 350 |
353 |
| 351 void (*remove_buddies)(PurpleConnection *connection, GList *buddies, GList *groups); |
354 void (*remove_buddies)(PurpleConnection *connection, GList *buddies, GList *groups); |
| 352 |
355 |
| 353 void (*keepalive)(PurpleConnection *connection); |
356 void (*keepalive)(PurpleConnection *connection); |
| |
357 |
| |
358 int (*get_keepalive_interval)(void); |
| 354 |
359 |
| 355 void (*alias_buddy)(PurpleConnection *connection, const char *who, |
360 void (*alias_buddy)(PurpleConnection *connection, const char *who, |
| 356 const char *alias); |
361 const char *alias); |
| 357 |
362 |
| 358 void (*group_buddy)(PurpleConnection *connection, const char *who, |
363 void (*group_buddy)(PurpleConnection *connection, const char *who, |
| 901 PurpleConnection *connection, GList *buddies, GList *groups); |
906 PurpleConnection *connection, GList *buddies, GList *groups); |
| 902 |
907 |
| 903 void purple_protocol_server_iface_keepalive(PurpleProtocol *protocol, |
908 void purple_protocol_server_iface_keepalive(PurpleProtocol *protocol, |
| 904 PurpleConnection *connection); |
909 PurpleConnection *connection); |
| 905 |
910 |
| |
911 int purple_protocol_server_iface_get_keepalive_interval(PurpleProtocol *protocol); |
| |
912 |
| 906 void purple_protocol_server_iface_alias_buddy(PurpleProtocol *protocol, |
913 void purple_protocol_server_iface_alias_buddy(PurpleProtocol *protocol, |
| 907 PurpleConnection *connection, const char *who, const char *alias); |
914 PurpleConnection *connection, const char *who, const char *alias); |
| 908 |
915 |
| 909 void purple_protocol_server_iface_group_buddy(PurpleProtocol *protocol, |
916 void purple_protocol_server_iface_group_buddy(PurpleProtocol *protocol, |
| 910 PurpleConnection *connection, const char *who, const char *old_group, |
917 PurpleConnection *connection, const char *who, const char *old_group, |