aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh_sftpd.erl
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2019-08-19 15:16:52 +0200
committerHans Nilsson <[email protected]>2019-08-19 15:16:52 +0200
commit8922f87db2a9496aabb5bc5e9abc97c7a8d2e5e6 (patch)
tree1c4b2cc4dd80991fb5adb3ab973fabea990c5499 /lib/ssh/src/ssh_sftpd.erl
parent8722bd998d51c4063e3e75242d429c9d1225453d (diff)
parenta5f5feb9b4c4bedfa027b07e33a5d1ccc9fb240b (diff)
downloadotp-8922f87db2a9496aabb5bc5e9abc97c7a8d2e5e6.tar.gz
otp-8922f87db2a9496aabb5bc5e9abc97c7a8d2e5e6.tar.bz2
otp-8922f87db2a9496aabb5bc5e9abc97c7a8d2e5e6.zip
Merge branch 'hans/ssh/gendoc/OTP-15395' into maint
* hans/ssh/gendoc/OTP-15395: ssh: Use new ssh_connection:event() type in channel defs ssh: change type names ssh: The ssh_connection documentation is now generated ssh: Update ssh_sftp:start_channel documentation and code ssh: The ssh_sftp documentation is now generated 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}}.