--- a/libpurple/connection.h Sat Jul 13 22:30:22 2013 +0530 +++ b/libpurple/connection.h Sat Jul 13 22:31:27 2013 +0530 @@ -463,6 +463,15 @@ */ void purple_connection_update_last_received(PurpleConnection *gc); +/** + * Disables reconnection after the connection disconnects. + * Called by prpls in handling of queries for user registration. This is not + * required when implementing prpl_info->register_user. + * + * @param gc The connection. + */ +void purple_connection_disable_reconnection(PurpleConnection *gc); + /*@}*/ /**************************************************************************/