Skip to content

Commit

Permalink
doc UPDATE ch
Browse files Browse the repository at this point in the history
  • Loading branch information
roman authored and michalvasko committed Nov 3, 2023
1 parent cfc6809 commit 43ba651
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions doc/libnetconf.doc
Original file line number Diff line number Diff line change
Expand Up @@ -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
* --------------
*
Expand Down
5 changes: 2 additions & 3 deletions src/session_server_ch.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 43ba651

Please sign in to comment.