comparison libpurple/connection.h @ 32768: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
comparison
equal deleted inserted replaced
32767:2ec94166be43 32768:50cd80d3554e
445 * @c FALSE otherwise. 445 * @c FALSE otherwise.
446 */ 446 */
447 gboolean 447 gboolean
448 purple_connection_error_is_fatal (PurpleConnectionError reason); 448 purple_connection_error_is_fatal (PurpleConnectionError reason);
449 449
450 /**
451 * Indicate that a packet was received on the connection.
452 * Set by the prpl to avoid sending unneeded keepalives.
453 *
454 * @param gc The connection.
455 */
456 void purple_connection_update_last_received(PurpleConnection *gc);
457
450 /*@}*/ 458 /*@}*/
451 459
452 /**************************************************************************/ 460 /**************************************************************************/
453 /** @name Connections API */ 461 /** @name Connections API */
454 /**************************************************************************/ 462 /**************************************************************************/