diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-10-26 05:34:35 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:04:43 -0500 |
commit | fef66179dd5a7c3498f23a79a43de9632f02648b (patch) | |
tree | 0c61f6d838aa3e89c2ed265de2b3d17910a15e00 /source4/include | |
parent | 3511e5e8061f0c563b076af165d1afb5ca3b2a78 (diff) | |
download | samba-fef66179dd5a7c3498f23a79a43de9632f02648b.tar.gz samba-fef66179dd5a7c3498f23a79a43de9632f02648b.tar.bz2 samba-fef66179dd5a7c3498f23a79a43de9632f02648b.zip |
r3237: - allow for readx calls larger than 64k
- combine setattre and standard levels in setfileinfo, as they use the
same structure
(This used to be commit e9aa1f789955533aca4fe43d5d74ffa1e8d1300b)
Diffstat (limited to 'source4/include')
-rw-r--r-- | source4/include/smb_interfaces.h | 19 |
1 files changed, 4 insertions, 15 deletions
diff --git a/source4/include/smb_interfaces.h b/source4/include/smb_interfaces.h index d7fb8ec6b3..771dce8803 100644 --- a/source4/include/smb_interfaces.h +++ b/source4/include/smb_interfaces.h @@ -726,7 +726,8 @@ union smb_setfileinfo { } in; } setattr; - /* RAW_SFILEINFO_SETATTRE (SMBsetattrE) interface - only via setfileinfo() */ + /* RAW_SFILEINFO_SETATTRE (SMBsetattrE) interface - only via setfileinfo() + also RAW_SFILEINFO_STANDARD */ struct { enum smb_setfileinfo_level level; union setfileinfo_file file; @@ -735,22 +736,10 @@ union smb_setfileinfo { time_t create_time; time_t access_time; time_t write_time; - } in; - } setattre; - - - /* RAW_SFILEINFO_STANDARD interface */ - struct { - enum smb_setfileinfo_level level; - union setfileinfo_file file; - struct { - time_t create_time; - time_t access_time; - time_t write_time; /* notice that size, alloc_size and attrib are not settable, unlike the corresponding qfileinfo level */ } in; - } standard; + } setattre, standard; /* RAW_SFILEINFO_EA_SET interface */ struct { @@ -1248,7 +1237,7 @@ union smb_read { uint16_t fnum; uint64_t offset; uint16_t mincnt; - uint16_t maxcnt; + uint32_t maxcnt; uint16_t remaining; } in; struct { |