From 7bcf3ce8f6688499bbf450709fe2fa519f950a44 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 25 Oct 2004 01:15:16 +0000 Subject: r3171: in qfileinfo getattre and standard have identical structures, so simplify code by making them aliases (This used to be commit 91a1dc121cba77a3400935c199897cde50396cdd) --- source4/include/smb_interfaces.h | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) (limited to 'source4/include') diff --git a/source4/include/smb_interfaces.h b/source4/include/smb_interfaces.h index 7f0133bbd7..d7fb8ec6b3 100644 --- a/source4/include/smb_interfaces.h +++ b/source4/include/smb_interfaces.h @@ -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 { -- cgit