#define PING_TIMEOUT (G_USEC_PER_SEC * 3)
/*! Warn the user after this many PING_TIMEOUT intervals */
#define PING_TIMEOUT (G_USEC_PER_SEC * 3)
/*! Warn the user after this many PING_TIMEOUT intervals */
static void ping_send(ObPingTarget *t);
static void ping_end(ObClient *client, gpointer data);
static void ping_send(ObPingTarget *t);
static void ping_end(ObClient *client, gpointer data);
/* make sure we're not already pinging the client */
if (g_hash_table_find(ping_ids, find_client, client) != NULL) return;
/* make sure we're not already pinging the client */
if (g_hash_table_find(ping_ids, find_client, client) != NULL) return;