diff options
author | Hans Nilsson <[email protected]> | 2018-04-18 20:17:08 +0200 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2018-04-25 16:03:07 +0200 |
commit | 5611b6139cb39a4e91a5cc6f61d698658120f49e (patch) | |
tree | 0814e87deeec11b6ddaaba570e0c893d359cd43f /lib/ssh/src/ssh_shell.erl | |
parent | 960467ead200635cb935dfd3aa5a5abe38299ca6 (diff) | |
download | otp-5611b6139cb39a4e91a5cc6f61d698658120f49e.tar.gz otp-5611b6139cb39a4e91a5cc6f61d698658120f49e.tar.bz2 otp-5611b6139cb39a4e91a5cc6f61d698658120f49e.zip |
ssh: New -spec and -type
Diffstat (limited to 'lib/ssh/src/ssh_shell.erl')
-rw-r--r-- | lib/ssh/src/ssh_shell.erl | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/ssh/src/ssh_shell.erl b/lib/ssh/src/ssh_shell.erl index 085534592d..c7c63c5c43 100644 --- a/lib/ssh/src/ssh_shell.erl +++ b/lib/ssh/src/ssh_shell.erl @@ -48,21 +48,6 @@ %%==================================================================== %% ssh_channel callbacks %%==================================================================== --spec init(Args :: term()) -> - {ok, State :: term()} | {ok, State :: term(), timeout() | hibernate} | - {stop, Reason :: term()} | ignore. - --spec terminate(Reason :: (normal | shutdown | {shutdown, term()} | - term()), - State :: term()) -> - term(). - --spec handle_msg(Msg ::term(), State :: term()) -> - {ok, State::term()} | {stop, ChannelId::integer(), State::term()}. --spec handle_ssh_msg({ssh_cm, ConnectionRef::term(), SshMsg::term()}, - State::term()) -> {ok, State::term()} | - {stop, ChannelId::integer(), - State::term()}. %%-------------------------------------------------------------------- %% Function: init(Args) -> {ok, State} |