From 20cc39d443d1a2c364b0fb778c7813ae7b5a1dd6 Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Tue, 11 Dec 2018 17:42:39 +0100 Subject: Add "since" attributes in xml for new functions and modules introduced after OTP_R13B03. --- lib/ftp/doc/src/ftp.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/ftp/doc') diff --git a/lib/ftp/doc/src/ftp.xml b/lib/ftp/doc/src/ftp.xml index 34e3ff84b0..21bb7cd133 100644 --- a/lib/ftp/doc/src/ftp.xml +++ b/lib/ftp/doc/src/ftp.xml @@ -801,7 +801,7 @@ - start_service(ServiceConfig) -> {ok, Pid} | {error, Reason} + start_service(ServiceConfig) -> {ok, Pid} | {error, Reason} Dynamically starts an FTP session after the ftp application has been started. @@ -820,7 +820,7 @@ - stop_service(Reference) -> ok | {error, Reason} + stop_service(Reference) -> ok | {error, Reason} Stops an FTP session. Reference = pid() | term() - service-specified reference -- cgit v1.2.3 From 50f64c60b87e8d03fedc3f9f4e655aff8ca9f16c Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Wed, 12 Dec 2018 19:32:24 +0100 Subject: Add empty 'since' attribute for old modules and functions --- lib/ftp/doc/src/ftp.xml | 78 ++++++++++++++++++++++++------------------------- 1 file changed, 39 insertions(+), 39 deletions(-) (limited to 'lib/ftp/doc') diff --git a/lib/ftp/doc/src/ftp.xml b/lib/ftp/doc/src/ftp.xml index 21bb7cd133..ead2367925 100644 --- a/lib/ftp/doc/src/ftp.xml +++ b/lib/ftp/doc/src/ftp.xml @@ -29,7 +29,7 @@ B ftp.xml - ftp + ftp A File Transfer Protocol client. @@ -272,7 +272,7 @@ - account(Pid, Account) -> ok | {error, Reason} + account(Pid, Account) -> ok | {error, Reason} Specifies which account to use. Pid = pid() @@ -289,8 +289,8 @@ - append(Pid, LocalFile) -> - append(Pid, LocalFile, RemoteFile) -> ok | {error, Reason} + append(Pid, LocalFile) -> + append(Pid, LocalFile, RemoteFile) -> ok | {error, Reason} Transfers a file to remote server, and appends it to Remotefile. @@ -310,7 +310,7 @@ - append_bin(Pid, Bin, RemoteFile) -> ok | {error, Reason} + append_bin(Pid, Bin, RemoteFile) -> ok | {error, Reason} Transfers a binary into a remote file. Pid = pid() @@ -328,7 +328,7 @@ - append_chunk(Pid, Bin) -> ok | {error, Reason} + append_chunk(Pid, Bin) -> ok | {error, Reason} Appends a chunk to the remote file. Pid = pid() @@ -348,7 +348,7 @@ - append_chunk_start(Pid, File) -> ok | {error, Reason} + append_chunk_start(Pid, File) -> ok | {error, Reason} Starts transfer of file chunks for appending to File. Pid = pid() @@ -365,7 +365,7 @@ - append_chunk_end(Pid) -> ok | {error, Reason} + append_chunk_end(Pid) -> ok | {error, Reason} Stops transfer of chunks for appending. Pid = pid() @@ -381,7 +381,7 @@ - cd(Pid, Dir) -> ok | {error, Reason} + cd(Pid, Dir) -> ok | {error, Reason} Changes remote working directory. Pid = pid() @@ -397,7 +397,7 @@ - close(Pid) -> ok + close(Pid) -> ok Ends the FTP session. Pid = pid() @@ -411,7 +411,7 @@ - delete(Pid, File) -> ok | {error, Reason} + delete(Pid, File) -> ok | {error, Reason} Deletes a file at the remote server. Pid = pid() @@ -426,7 +426,7 @@ - formaterror(Tag) -> string() + formaterror(Tag) -> string() Returns error diagnostics. Tag = {error, atom()} | atom() @@ -440,7 +440,7 @@ - lcd(Pid, Dir) -> ok | {error, Reason} + lcd(Pid, Dir) -> ok | {error, Reason} Changes local working directory. Pid = pid() @@ -455,7 +455,7 @@ - lpwd(Pid) -> {ok, Dir} + lpwd(Pid) -> {ok, Dir} Gets local current working directory. Pid = pid() @@ -470,8 +470,8 @@ - ls(Pid) -> - ls(Pid, Pathname) -> {ok, Listing} | {error, Reason} + ls(Pid) -> + ls(Pid, Pathname) -> {ok, Listing} | {error, Reason} List of files. Pid = pid() @@ -493,7 +493,7 @@ - mkdir(Pid, Dir) -> ok | {error, Reason} + mkdir(Pid, Dir) -> ok | {error, Reason} Creates a remote directory. Pid = pid() @@ -510,8 +510,8 @@ - nlist(Pid) -> - nlist(Pid, Pathname) -> {ok, Listing} | {error, Reason} + nlist(Pid) -> + nlist(Pid, Pathname) -> {ok, Listing} | {error, Reason} List of files. Pid = pid() @@ -535,8 +535,8 @@ - open(Host) -> {ok, Pid} | {error, Reason} - open(Host, Opts) -> {ok, Pid} | {error, Reason} + open(Host) -> {ok, Pid} | {error, Reason} + open(Host, Opts) -> {ok, Pid} | {error, Reason} Starts a standalone FTP client. Host = string() | ip_address() @@ -587,7 +587,7 @@ - pwd(Pid) -> {ok, Dir} | {error, Reason} + pwd(Pid) -> {ok, Dir} | {error, Reason} Gets the remote current working directory. Pid = pid() @@ -603,8 +603,8 @@ - recv(Pid, RemoteFile) -> - recv(Pid, RemoteFile, LocalFile) -> ok | {error, Reason} + recv(Pid, RemoteFile) -> + recv(Pid, RemoteFile, LocalFile) -> ok | {error, Reason} Transfers a file from remote server. Pid = pid() @@ -627,7 +627,7 @@ - recv_bin(Pid, RemoteFile) -> {ok, Bin} | {error, Reason} + recv_bin(Pid, RemoteFile) -> {ok, Bin} | {error, Reason} Transfers a file from remote server as a binary. Pid = pid() @@ -644,7 +644,7 @@ - recv_chunk_start(Pid, RemoteFile) -> ok | {error, Reason} + recv_chunk_start(Pid, RemoteFile) -> ok | {error, Reason} Starts chunk-reading of the remote file. Pid = pid() @@ -660,7 +660,7 @@ - recv_chunk(Pid) -> ok | {ok, Bin} | {error, Reason} + recv_chunk(Pid) -> ok | {ok, Bin} | {error, Reason} Receives a chunk of the remote file. Pid = pid() @@ -682,7 +682,7 @@ - rename(Pid, Old, New) -> ok | {error, Reason} + rename(Pid, Old, New) -> ok | {error, Reason} Renames a file at the remote server. Pid = pid() @@ -697,7 +697,7 @@ - rmdir(Pid, Dir) -> ok | {error, Reason} + rmdir(Pid, Dir) -> ok | {error, Reason} Removes a remote directory. Pid = pid() @@ -714,8 +714,8 @@ - send(Pid, LocalFile) -> - send(Pid, LocalFile, RemoteFile) -> ok | {error, Reason} + send(Pid, LocalFile) -> + send(Pid, LocalFile, RemoteFile) -> ok | {error, Reason} Transfers a file to the remote server. Pid = pid() @@ -732,7 +732,7 @@ - send_bin(Pid, Bin, RemoteFile) -> ok | {error, Reason} + send_bin(Pid, Bin, RemoteFile) -> ok | {error, Reason} Transfers a binary into a remote file. Pid = pid() @@ -749,7 +749,7 @@ - send_chunk(Pid, Bin) -> ok | {error, Reason} + send_chunk(Pid, Bin) -> ok | {error, Reason} Writes a chunk to the remote file. Pid = pid() @@ -769,7 +769,7 @@ - send_chunk_start(Pid, File) -> ok | {error, Reason} + send_chunk_start(Pid, File) -> ok | {error, Reason} Starts transfer of file chunks. Pid = pid() @@ -785,7 +785,7 @@ - send_chunk_end(Pid) -> ok | {error, Reason} + send_chunk_end(Pid) -> ok | {error, Reason} Stops transfer of chunks. Pid = pid() @@ -832,7 +832,7 @@ - type(Pid, Type) -> ok | {error, Reason} + type(Pid, Type) -> ok | {error, Reason} Sets transfer type to asciior binary. Pid = pid() @@ -849,7 +849,7 @@ - user(Pid, User, Password) -> ok | {error, Reason} + user(Pid, User, Password) -> ok | {error, Reason} User login. Pid = pid() @@ -864,7 +864,7 @@ - user(Pid, User, Password, Account) -> ok | {error, Reason} + user(Pid, User, Password, Account) -> ok | {error, Reason} User login. Pid = pid() @@ -880,7 +880,7 @@ - quote(Pid, Command) -> [FTPLine] + quote(Pid, Command) -> [FTPLine] Sends an arbitrary FTP command. Pid = pid() -- cgit v1.2.3