aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh_connect.hrl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2016-04-14 19:35:39 +0200
committerHans Nilsson <[email protected]>2016-04-27 13:36:53 +0200
commit9ec2d2fcd17484163296b15315c18ab4509d0629 (patch)
tree838c6ea254b5a3d501797d345e1cac18abb4d738 /lib/ssh/src/ssh_connect.hrl
parent9dc46e8d58c9464c8a48b74342951265c3b43dc8 (diff)
downloadotp-9ec2d2fcd17484163296b15315c18ab4509d0629.tar.gz
otp-9ec2d2fcd17484163296b15315c18ab4509d0629.tar.bz2
otp-9ec2d2fcd17484163296b15315c18ab4509d0629.zip
ssh: Begin -spec for ssh_connection_handler
Diffstat (limited to 'lib/ssh/src/ssh_connect.hrl')
-rw-r--r--lib/ssh/src/ssh_connect.hrl4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ssh/src/ssh_connect.hrl b/lib/ssh/src/ssh_connect.hrl
index 397d51de9d..3860bb3202 100644
--- a/lib/ssh/src/ssh_connect.hrl
+++ b/lib/ssh/src/ssh_connect.hrl
@@ -22,7 +22,9 @@
%%% 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).