summaryrefslogtreecommitdiff
path: root/source3/include/client.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-09-12 02:45:22 +0200
committerJeremy Allison <jra@samba.org>2011-09-14 13:09:36 -0700
commit6626c836f353ad2e574621a44bc9a74658cceb62 (patch)
tree4b13f97442d9ecff18ca916c1e0518e34fafb3bc /source3/include/client.h
parent4c9b1841ed41df0b4084447ffcbfeb470679105f (diff)
downloadsamba-6626c836f353ad2e574621a44bc9a74658cceb62.tar.gz
samba-6626c836f353ad2e574621a44bc9a74658cceb62.tar.bz2
samba-6626c836f353ad2e574621a44bc9a74658cceb62.zip
s3:libsmb: let cli_write_max_bufsize() return the max number of possible bytes
s3:libsmb: let cli_write_max_bufsize() return the max number of possible bytes We now return what's possible on the wire. Which is 0x1FFFF - data_offset if CAP_LARGE_WRITEX is given by the server (without signing) or 0xFFFFFF - data_offset if CIFS_UNIX_LARGE_READ_CAP is available (without signing/sealing). Otherwise we return max_xmit - data_offset. metze Signed-off-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/include/client.h')
0 files changed, 0 insertions, 0 deletions