File 4915-ssh-Documentation.patch of Package erlang

From 86869fa47017566798fe8ed042484e8553d6a018 Mon Sep 17 00:00:00 2001
From: Hans Nilsson <hans@erlang.org>
Date: Wed, 3 Aug 2022 17:00:16 +0200
Subject: [PATCH 5/5] ssh: Documentation

---
 lib/ssh/doc/src/ssh.xml | 26 +++++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/lib/ssh/doc/src/ssh.xml b/lib/ssh/doc/src/ssh.xml
index 94f3815943..8f6ef6e664 100644
--- a/lib/ssh/doc/src/ssh.xml
+++ b/lib/ssh/doc/src/ssh.xml
@@ -1408,6 +1408,31 @@
        </desc>
    </func>
 
+<!-- DAEMON_REPLACE_OPTIONS/2 -->
+   <func>
+     <name name="daemon_replace_options" arity="2" since="OTP 25.1"/>
+     <fsummary>Change options in a running daemon</fsummary>
+     <desc>
+       <p>
+	 Replaces the options in a running daemon with the options in
+	 <c>NewUserOptions</c>. Only connections established after this call
+	 are affected, already established connections are not.
+       </p>
+       <note>
+	 <p>In the final phase of this function, the listening process is restarted.
+	 Therfore a connection attempt to the daemon in this final phase could fail.
+	 </p>
+       </note>
+       <p>
+	 The handling of Erlang configurations is described in the User's Guide;
+	 see chapters
+	 <seeguide marker="configurations">Configuration in SSH</seeguide>
+	 and
+	 <seeguide marker="configure_algos">Configuring algorithms in SSH</seeguide>.
+       </p>
+     </desc>
+   </func>
+
 <!-- DAEMON_INFO/1 -->
    <func>
      <name name="daemon_info" arity="1" since="OTP 19.0"/>
@@ -1424,7 +1449,6 @@
      </desc>
    </func>
 
-
 <!-- DEFAULT_ALGORITHMS/0 -->
     <func>
       <name name="default_algorithms" arity="0" since="OTP 18.0"/>
-- 
2.35.3

openSUSE Build Service is sponsored by