projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updates.
[silc.git]
/
lib
/
silccore
/
silcsockconn.c
diff --git
a/lib/silccore/silcsockconn.c
b/lib/silccore/silcsockconn.c
index a239d06ca19fc19523b8e8ef4480df6c6cf9fedd..5111980b8bb2e6a447554ea75276f5bce3c9716a 100644
(file)
--- a/
lib/silccore/silcsockconn.c
+++ b/
lib/silccore/silcsockconn.c
@@
-21,6
+21,16
@@
#include "silcincludes.h"
#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. */
/* Allocates a new socket connection object. The allocated object is
returned to the new_socket argument. */