aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh_connect.hrl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2016-05-02 13:08:18 +0200
committerHans Nilsson <[email protected]>2016-05-02 13:08:18 +0200
commit8a7789a5814dad194310d08dafc4421d22b3c89f (patch)
tree95b22111cdd36b2022cbfa56e5304a141d173801 /lib/ssh/src/ssh_connect.hrl
parentd32a045349d5f9156142aa57a932b6a270052d29 (diff)
parent5fa07312d27a7ff6826bf943e3b9d6575be3acf1 (diff)
downloadotp-8a7789a5814dad194310d08dafc4421d22b3c89f.tar.gz
otp-8a7789a5814dad194310d08dafc4421d22b3c89f.tar.bz2
otp-8a7789a5814dad194310d08dafc4421d22b3c89f.zip
Merge branch 'hans/ssh/gen_statem/OTP-13267'
Diffstat (limited to 'lib/ssh/src/ssh_connect.hrl')
-rw-r--r--lib/ssh/src/ssh_connect.hrl6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/ssh/src/ssh_connect.hrl b/lib/ssh/src/ssh_connect.hrl
index 397d51de9d..47a166dcfd 100644
--- a/lib/ssh/src/ssh_connect.hrl
+++ b/lib/ssh/src/ssh_connect.hrl
@@ -22,13 +22,15 @@
%%% Description : SSH connection protocol
--type channel_id() :: integer().
+-type role() :: client | server .
+-type connection_ref() :: pid().
+-type channel_id() :: pos_integer().
-define(DEFAULT_PACKET_SIZE, 65536).
-define(DEFAULT_WINDOW_SIZE, 10*?DEFAULT_PACKET_SIZE).
-define(DEFAULT_TIMEOUT, 5000).
--define(MAX_PROTO_VERSION, 255).
+-define(MAX_PROTO_VERSION, 255). % Max length of the hello string
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%