File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 *
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/**
You can’t perform that action at this time.
0 commit comments