aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh.hrl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2018-11-01 14:44:44 +0100
committerHans Nilsson <[email protected]>2018-11-19 17:23:34 +0100
commit709534a5417f20f8edda1d3664669ed9d3129354 (patch)
tree17728bbbe04b165a2c3690cbcc270c5621365671 /lib/ssh/src/ssh.hrl
parent4c3e66d5969e1abe2c8827b756edd860555038a8 (diff)
downloadotp-709534a5417f20f8edda1d3664669ed9d3129354.tar.gz
otp-709534a5417f20f8edda1d3664669ed9d3129354.tar.bz2
otp-709534a5417f20f8edda1d3664669ed9d3129354.zip
ssh: Generalize unpublished test support option
Also rename the corresponding testcase in ssh_options_SUITE and add logging.
Diffstat (limited to 'lib/ssh/src/ssh.hrl')
-rw-r--r--lib/ssh/src/ssh.hrl7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/ssh/src/ssh.hrl b/lib/ssh/src/ssh.hrl
index aa4b3ef098..3e9b1add3b 100644
--- a/lib/ssh/src/ssh.hrl
+++ b/lib/ssh/src/ssh.hrl
@@ -240,7 +240,12 @@
| ?COMMON_OPTION .
-type opaque_client_options() ::
- {keyboard_interact_fun, fun((term(),term(),term()) -> term())}
+ {keyboard_interact_fun, fun((Name::iodata(),
+ Instruction::iodata(),
+ Prompts::[{Prompt::iodata(),Echo::boolean()}]
+ ) ->
+ [Response::iodata()]
+ )}
| opaque_common_options().
-type host_accepting_client_options() ::