mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
r3171: in qfileinfo getattre and standard have identical structures, so
simplify code by making them aliases
(This used to be commit 91a1dc121c
)
This commit is contained in:
parent
4298624589
commit
7bcf3ce8f6
@ -407,7 +407,7 @@ union smb_fileinfo {
|
||||
} out;
|
||||
} getattr;
|
||||
|
||||
/* SMBgetattrE interface */
|
||||
/* SMBgetattrE and RAW_FILEINFO_STANDARD interface */
|
||||
struct {
|
||||
enum smb_fileinfo_level level;
|
||||
union smb_fileinfo_in in;
|
||||
@ -420,22 +420,7 @@ union smb_fileinfo {
|
||||
uint32_t alloc_size;
|
||||
uint16_t attrib;
|
||||
} out;
|
||||
} getattre;
|
||||
|
||||
/* trans2 RAW_FILEINFO_STANDARD interface */
|
||||
struct {
|
||||
enum smb_fileinfo_level level;
|
||||
union smb_fileinfo_in in;
|
||||
|
||||
struct {
|
||||
time_t create_time;
|
||||
time_t access_time;
|
||||
time_t write_time;
|
||||
uint32_t size;
|
||||
uint32_t alloc_size;
|
||||
uint16_t attrib;
|
||||
} out;
|
||||
} standard;
|
||||
} getattre, standard;
|
||||
|
||||
/* trans2 RAW_FILEINFO_EA_SIZE interface */
|
||||
struct {
|
||||
|
Loading…
Reference in New Issue
Block a user