Mercurial > pidgin
diff libpurple/connection.h @ 32306:50cd80d3554e
Add a purple_connection_update_last_received() function to update the
PurpleConnection->last_received value.
author | andrew.victor@mxit.com |
---|---|
date | Tue, 18 Oct 2011 20:25:41 +0000 |
parents | 2ec94166be43 |
children | 6135b24cdc8a |
line wrap: on
line diff
--- a/libpurple/connection.h Tue Oct 18 18:47:48 2011 +0000 +++ b/libpurple/connection.h Tue Oct 18 20:25:41 2011 +0000 @@ -447,6 +447,14 @@ gboolean purple_connection_error_is_fatal (PurpleConnectionError reason); +/** + * Indicate that a packet was received on the connection. + * Set by the prpl to avoid sending unneeded keepalives. + * + * @param gc The connection. + */ +void purple_connection_update_last_received(PurpleConnection *gc); + /*@}*/ /**************************************************************************/