From 77319506629cc4adb03af69774aba1de3bc26a5b Mon Sep 17 00:00:00 2001 From: Pekka Riikonen Date: Fri, 16 Feb 2001 10:43:38 +0000 Subject: [PATCH] update --- lib/silccore/silcsockconn.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/silccore/silcsockconn.c b/lib/silccore/silcsockconn.c index 4f5e60d2..a701da5c 100644 --- a/lib/silccore/silcsockconn.c +++ b/lib/silccore/silcsockconn.c @@ -79,7 +79,12 @@ SILC_TASK_CALLBACK(silc_socket_heartbeat) } /* Sets the heartbeat timeout and prepares the socket for performing - heartbeat in `heartbeat' intervals (seconds). */ + heartbeat in `heartbeat' intervals (seconds). The `hb_context' is + allocated by the application and will be sent as argument to the + `hb_callback' function that is called when the `heartbeat' timeout + expires. The callback `hb_context' won't be touched by the library + but will be freed automatically when calling silc_socket_free. The + `timeout_queue' is the application's scheduler timeout queue. */ void silc_socket_set_heartbeat(SilcSocketConnection sock, unsigned long heartbeat, -- 2.43.0