diff options
author | Hans Nilsson <[email protected]> | 2019-04-12 11:58:08 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2019-04-12 11:58:08 +0200 |
commit | d90b83daa112f1d271b054300640a5b563241590 (patch) | |
tree | 558ce78d7b3070ebdb3ff94401e626ea22e6c954 /lib/ssh/src | |
parent | 1feae54b6a313f7a35ca1671e3c50f8b434a1bb0 (diff) | |
parent | 3f588941ec05bc69f4bd2ba76c391825f702338e (diff) | |
download | otp-d90b83daa112f1d271b054300640a5b563241590.tar.gz otp-d90b83daa112f1d271b054300640a5b563241590.tar.bz2 otp-d90b83daa112f1d271b054300640a5b563241590.zip |
Merge branch 'hans/ssh/ssh_channel-init/OTP-15762' into maint-21
* hans/ssh/ssh_channel-init/OTP-15762:
ssh: Add ssh_channel:init/1
Diffstat (limited to 'lib/ssh/src')
-rw-r--r-- | lib/ssh/src/ssh_channel.erl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/ssh/src/ssh_channel.erl b/lib/ssh/src/ssh_channel.erl index 443bd05086..1d977e3bc9 100644 --- a/lib/ssh/src/ssh_channel.erl +++ b/lib/ssh/src/ssh_channel.erl @@ -58,6 +58,7 @@ State::term()}. %%% API -export([start/4, start/5, start_link/4, start_link/5, call/2, call/3, + init/1, cast/2, reply/2, enter_loop/1]). %%==================================================================== @@ -76,6 +77,9 @@ cast(ChannelPid, Msg) -> reply(From, Msg) -> ssh_client_channel:reply(From, Msg). +init(Args) -> + ssh_client_channel:init(Args). + start(ConnectionManager, ChannelId, CallBack, CbInitArgs) -> ssh_client_channel:start(ConnectionManager, ChannelId, CallBack, CbInitArgs). |