diff options
author | Ross Lagerwall <rosslagerwall@gmail.com> | 2015-05-27 23:13:15 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2015-05-29 02:37:18 +0200 |
commit | f73bcf4934be89f83e86459bc695b7d28348565c (patch) | |
tree | f5dcf383cb7aae7f642a8bbda44fcf8afe3e10e5 /source3/wscript_build | |
parent | 2ffa939bbe2c02509e1790c8b3f6f9b6910e3cf6 (diff) | |
download | samba-f73bcf4934be89f83e86459bc695b7d28348565c.tar.gz |
s3: libsmbclient: Add server-side copy support
Introduce a new operation, splice, which copies data from one SMBCFILE
to another. Implement this operation using FSCTL_SRV_COPYCHUNK_WRITE for
SMB2+ protocols and using read+write for older protocols. Since the
operation may be long running, it takes a callback which gets called
periodically to indicate progress to the application and given an
opportunity to stop it.
Signed-off-by: Ross Lagerwall <rosslagerwall@gmail.com>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/wscript_build')
-rwxr-xr-x | source3/wscript_build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/wscript_build b/source3/wscript_build index ef4c986bca6..d9b85b88c26 100755 --- a/source3/wscript_build +++ b/source3/wscript_build @@ -414,6 +414,7 @@ bld.SAMBA3_LIBRARY('libsmb', SPNEGO_PARSE LIBTSOCKET KRBCLIENT + NDR_IOCTL cli_smb_common util_cmdline tevent''', |