updates.
[silc.git] / lib / silccore / silcsockconn.c
index a239d06ca19fc19523b8e8ef4480df6c6cf9fedd..5111980b8bb2e6a447554ea75276f5bce3c9716a 100644 (file)
 
 #include "silcincludes.h"
 
+/* Heartbeat context */
+struct SilcSocketConnectionHB {
+  uint32 heartbeat;
+  SilcSocketConnectionHBCb hb_callback;
+  void *hb_context;
+  void *timeout_queue;
+  SilcTask hb_task;
+  SilcSocketConnection sock;
+};
+
 /* Allocates a new socket connection object. The allocated object is 
    returned to the new_socket argument. */