r3171: in qfileinfo getattre and standard have identical structures, so
authorAndrew Tridgell <tridge@samba.org>
Mon, 25 Oct 2004 01:15:16 +0000 (01:15 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:04:35 +0000 (13:04 -0500)
simplify code by making them aliases
(This used to be commit 91a1dc121cba77a3400935c199897cde50396cdd)

source4/include/smb_interfaces.h

index 7f0133bbd77b53aa26783db502a537f19bb44421..d7fb8ec6b30f66796005cc2af7a6f6ab114b3878 100644 (file)
@@ -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 {