From 04c7c501047a477d01368431c30904217f610a9c Mon Sep 17 00:00:00 2001 From: roman Date: Fri, 3 Nov 2023 13:58:45 +0100 Subject: [PATCH] doc UPDATE ch --- doc/libnetconf.doc | 2 -- src/session_server_ch.h | 5 ++--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/doc/libnetconf.doc b/doc/libnetconf.doc index 46a133b5..c91b46fe 100644 --- a/doc/libnetconf.doc +++ b/doc/libnetconf.doc @@ -496,8 +496,6 @@ * which then creates a new thread and the server will start to connect. * Unix socket _Call Home_ sessions are not supported. * - * Lastly, monitoring of these sessions is up to the application. - * * Functions List * -------------- * diff --git a/src/session_server_ch.h b/src/session_server_ch.h index 6b5ff197..72191697 100644 --- a/src/session_server_ch.h +++ b/src/session_server_ch.h @@ -109,13 +109,12 @@ int nc_connect_ch_client_dispatch(const char *client_name, nc_server_ch_session_ /** * @brief Set callbacks and their data for Call Home threads. * - * If set, Call Home threads will be dispatched automatically upon creation of a new Call Home clients. - * Calling this will replace all the previously set callbacks and their data. + * If set, Call Home threads will be dispatched automatically upon creation of new Call Home clients. * * @param[in] acquire_ctx_cb Callback for acquiring new session context. * @param[in] release_ctx_cb Callback for releasing session context. * @param[in] ctx_cb_data Arbitrary user data passed to @p acquire_ctx_cb and @p release_ctx_cb. - * @param[in] new_session_cb Callback called for every established session on the client. + * @param[in] new_session_cb Callback called for every established Call Home session. * @param[in] new_session_cb_data Arbitrary user data passed to @p new_session_cb. */ void nc_server_ch_set_dispatch_data(nc_server_ch_session_acquire_ctx_cb acquire_ctx_cb,