diff options
author | Hans Nilsson <[email protected]> | 2018-11-01 14:44:44 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2018-11-19 17:23:34 +0100 |
commit | 709534a5417f20f8edda1d3664669ed9d3129354 (patch) | |
tree | 17728bbbe04b165a2c3690cbcc270c5621365671 /lib/ssh/src/ssh.hrl | |
parent | 4c3e66d5969e1abe2c8827b756edd860555038a8 (diff) | |
download | otp-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.hrl | 7 |
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() :: |