summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-10-25 01:15:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:04:35 -0500
commit7bcf3ce8f6688499bbf450709fe2fa519f950a44 (patch)
tree12d6fb79733c7a481edcb5f87e5e6b36579cb39d
parent4298624589e2b44d88d703fe7cc0e73957c7652e (diff)
downloadsamba-7bcf3ce8f6688499bbf450709fe2fa519f950a44.tar.gz
samba-7bcf3ce8f6688499bbf450709fe2fa519f950a44.tar.bz2
samba-7bcf3ce8f6688499bbf450709fe2fa519f950a44.zip
r3171: in qfileinfo getattre and standard have identical structures, so
simplify code by making them aliases (This used to be commit 91a1dc121cba77a3400935c199897cde50396cdd)
-rw-r--r--source4/include/smb_interfaces.h19
1 files changed, 2 insertions, 17 deletions
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 {