--- 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