Skip to content

Commit 8b572ad

Browse files
romanmichalvasko
authored andcommitted
doc UPDATE mention server-side notifs
1 parent 2084189 commit 8b572ad

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

doc/libnetconf.doc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -650,6 +650,13 @@
650650
* this request with ::nc_ps_accept_ssh_channel() or ::nc_session_accept_ssh_channel()
651651
* depending on the structure you want to use as the argument.
652652
*
653+
* The server-side notifications are also supported. You can create a new notification
654+
* with ::nc_server_notif_new() and send it via ::nc_server_notif_send() to subscribed clients.
655+
* Keep in mind that the session you wish to send a notification on has to have at least one
656+
* subscriber, see ::nc_session_inc_notif_status().
657+
* Currently, only notifications about certificate expiration are implemented,
658+
* see ::nc_server_notif_cert_expiration_thread_start().
659+
*
653660
* Functions List
654661
* --------------
655662
*
@@ -665,6 +672,18 @@
665672
* - ::nc_ps_clear()
666673
* - ::nc_ps_accept_ssh_channel()
667674
* - ::nc_session_accept_ssh_channel()
675+
*
676+
* - ::nc_server_notif_new()
677+
* - ::nc_server_notif_send()
678+
* - ::nc_server_notif_free()
679+
* - ::nc_server_notif_get_time()
680+
681+
* - ::nc_session_inc_notif_status()
682+
* - ::nc_session_dec_notif_status()
683+
* - ::nc_session_get_notif_status()
684+
685+
* - ::nc_server_notif_cert_expiration_thread_start()
686+
* - ::nc_server_notif_cert_expiration_thread_stop()
668687
*/
669688

670689
/**

0 commit comments

Comments
 (0)