svn commit: samba r3171 - in branches/SAMBA_4_0/source/include: .

tridge at samba.org tridge at samba.org
Mon Oct 25 01:15:16 GMT 2004


Author: tridge
Date: 2004-10-25 01:15:16 +0000 (Mon, 25 Oct 2004)
New Revision: 3171

WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/include&rev=3171&nolog=1

Log:
in qfileinfo getattre and standard have identical structures, so
simplify code by making them aliases

Modified:
   branches/SAMBA_4_0/source/include/smb_interfaces.h


Changeset:
Modified: branches/SAMBA_4_0/source/include/smb_interfaces.h
===================================================================
--- branches/SAMBA_4_0/source/include/smb_interfaces.h	2004-10-24 23:54:00 UTC (rev 3170)
+++ branches/SAMBA_4_0/source/include/smb_interfaces.h	2004-10-25 01:15:16 UTC (rev 3171)
@@ -407,7 +407,7 @@
 		} out;
 	} getattr;
 
-	/* SMBgetattrE interface */
+	/* SMBgetattrE and  RAW_FILEINFO_STANDARD interface */
 	struct {
 		enum smb_fileinfo_level level;
 		union smb_fileinfo_in in;
@@ -420,23 +420,8 @@
 			uint32_t alloc_size;
 			uint16_t attrib;
 		} out;
-	} getattre;
+	} getattre, standard;
 
-	/* 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;
-
 	/* trans2 RAW_FILEINFO_EA_SIZE interface */
 	struct {
 		enum smb_fileinfo_level level;



More information about the samba-cvs mailing list