@@ -135,7 +135,8 @@ The directory could be changed with the option
135
135
[{type ,<<" Client Options" >>},
136
136
{type ,<<" Daemon Options" >>},
137
137
{type ,<<" Common Options" >>},
138
- {type ,<<" Other data types" >>}]}).
138
+ {type ,<<" Deprecated Types" >>},
139
+ {type ,<<" Other Data Types" >>}]}).
139
140
140
141
-include (" ssh.hrl" ).
141
142
-include (" ssh_connect.hrl" ).
@@ -174,8 +175,11 @@ The directory could be changed with the option
174
175
175
176
% %% "Deprecated" types export:
176
177
-export_type ([ssh_daemon_ref / 0 , ssh_connection_ref / 0 , ssh_channel_id / 0 ]).
178
+ -doc (#{title => <<" Deprecated Types" >>}).
177
179
-opaque ssh_daemon_ref () :: daemon_ref ().
180
+ -doc (#{title => <<" Deprecated Types" >>}).
178
181
-opaque ssh_connection_ref () :: connection_ref ().
182
+ -doc (#{title => <<" Deprecated Types" >>}).
179
183
-opaque ssh_channel_id () :: channel_id ().
180
184
181
185
@@ -208,15 +212,15 @@ Opaque data type representing a daemon.
208
212
209
213
Returned by the functions [`daemon/1,2,3`](`daemon/1`).
210
214
""" .
211
- -doc (#{title => <<" Other data types " >>}).
215
+ -doc (#{title => <<" Other Data Types " >>}).
212
216
-opaque daemon_ref () :: pid () .
213
217
-doc """
214
218
Opaque data type representing a channel inside a connection.
215
219
216
220
Returned by the functions
217
221
[ssh_connection:session_channel/2,4](`ssh_connection:session_channel/2`).
218
222
""" .
219
- -doc (#{title => <<" Other data types " >>}).
223
+ -doc (#{title => <<" Other Data Types " >>}).
220
224
-opaque channel_id () :: non_neg_integer ().
221
225
-doc """
222
226
Opaque data type representing a connection between a client and a server
@@ -225,7 +229,7 @@ Opaque data type representing a connection between a client and a server
225
229
Returned by the functions [`connect/2,3,4`](`connect/3`) and
226
230
[`ssh_sftp:start_channel/2,3`](`ssh_sftp:start_channel/2`).
227
231
""" .
228
- -doc (#{title => <<" Other data types " >>}).
232
+ -doc (#{title => <<" Other Data Types " >>}).
229
233
-type connection_ref () :: pid (). % should be -opaque, but that gives problems
230
234
231
235
% %--------------------------------------------------------------------
@@ -427,13 +431,13 @@ close(ConnectionRef) ->
427
431
% %--------------------------------------------------------------------
428
432
% % Description: Retrieves information about a connection.
429
433
% %---------------------------------------------------------------------
430
- -doc (#{title => <<" Other data types " >>}).
434
+ -doc (#{title => <<" Other Data Types " >>}).
431
435
-type version () :: {protocol_version (), software_version ()}.
432
- -doc (#{title => <<" Other data types " >>}).
436
+ -doc (#{title => <<" Other Data Types " >>}).
433
437
-type protocol_version () :: {Major :: pos_integer (), Minor :: non_neg_integer ()}.
434
- -doc (#{title => <<" Other data types " >>}).
438
+ -doc (#{title => <<" Other Data Types " >>}).
435
439
-type software_version () :: string ().
436
- -doc (#{title => <<" Other data types " >>}).
440
+ -doc (#{title => <<" Other Data Types " >>}).
437
441
-type conn_info_algs () :: [{kex , kex_alg ()}
438
442
| {hkey , pubkey_alg ()}
439
443
| {encrypt , cipher_alg ()}
@@ -451,10 +455,10 @@ Return values from the `connection_info/1` and `connection_info/2` functions.
451
455
In the `option` info tuple are only the options included that differs from the
452
456
default values.
453
457
""" .
454
- -doc (#{title => <<" Other data types " >>}).
458
+ -doc (#{title => <<" Other Data Types " >>}).
455
459
-type conn_info_channels () :: [proplists :proplist ()].
456
460
457
- -doc (#{title => <<" Other data types " >>}).
461
+ -doc (#{title => <<" Other Data Types " >>}).
458
462
-type connection_info_tuple () ::
459
463
{client_version , version ()}
460
464
| {server_version , version ()}
@@ -691,7 +695,7 @@ Return values from the `daemon_info/1` and `daemon_info/2` functions.
691
695
In the `option` info tuple are only the options included that differs from the
692
696
default values.
693
697
""" .
694
- -doc (#{title => <<" Other data types " >>}).
698
+ -doc (#{title => <<" Other Data Types " >>}).
695
699
-type daemon_info_tuple () ::
696
700
{port , inet :port_number ()}
697
701
| {ip , inet :ip_address ()}
0 commit comments