libpurple/connection.h

changeset 22277
7c386db62c81
parent 22093
a5e784e3b6a7
child 22336
ac905bb0a8ec
--- a/libpurple/connection.h	Thu Jan 17 21:08:20 2008 +0000
+++ b/libpurple/connection.h	Wed Jan 23 23:28:38 2008 +0000
@@ -251,6 +251,8 @@
 	gboolean wants_to_die;
 
 	guint disconnect_timeout;    /**< Timer used for nasty stack tricks  */
+	time_t last_received;        /**< When we last received a packet. Set by the
+					  prpl to avoid sending unneeded keepalives */
 };
 
 #ifdef __cplusplus

mercurial