aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh_sftpd.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2019-06-27 15:17:57 +0200
committerHans Nilsson <[email protected]>2019-08-12 17:09:16 +0200
commit8bf1bd07face1af84fbded1281e4877f28e0e9fa (patch)
treee838158fce1a358d3f33d1fb8df9015d15ffbef5 /lib/ssh/src/ssh_sftpd.erl
parent65874ca12f22c0135399c9161b3091a39e40e20f (diff)
downloadotp-8bf1bd07face1af84fbded1281e4877f28e0e9fa.tar.gz
otp-8bf1bd07face1af84fbded1281e4877f28e0e9fa.tar.bz2
otp-8bf1bd07face1af84fbded1281e4877f28e0e9fa.zip
ssh: The ssh_sftpd documentation is now generated
Diffstat (limited to 'lib/ssh/src/ssh_sftpd.erl')
-rw-r--r--lib/ssh/src/ssh_sftpd.erl12
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/ssh/src/ssh_sftpd.erl b/lib/ssh/src/ssh_sftpd.erl
index 5ec12e2d04..bf921f0ff3 100644
--- a/lib/ssh/src/ssh_sftpd.erl
+++ b/lib/ssh/src/ssh_sftpd.erl
@@ -58,7 +58,17 @@
%%====================================================================
%% API
%%====================================================================
--spec subsystem_spec(list()) -> subsystem_spec().
+-spec subsystem_spec(Options) -> Spec when
+ Options :: [ {cwd, string()} |
+ {file_handler, CallbackModule::string()} |
+ {max_files, integer()} |
+ {root, string()} |
+ {sftpd_vsn, integer()}
+ ],
+ Spec :: {Name, {CbMod,Options}},
+ Name :: string(),
+ CbMod :: atom() .
+
subsystem_spec(Options) ->
{"sftp", {?MODULE, Options}}.