svn commit: samba r15745 - in branches/SAMBA_4_0/source/smb_server: .

metze at samba.org metze at samba.org
Sat May 20 12:08:29 GMT 2006


Author: metze
Date: 2006-05-20 12:08:27 +0000 (Sat, 20 May 2006)
New Revision: 15745

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15745

Log:
- reorder the elements of smbsrv_request
- move the SMB specific elements to the end

metze
Modified:
   branches/SAMBA_4_0/source/smb_server/smb_server.h


Changeset:
Modified: branches/SAMBA_4_0/source/smb_server/smb_server.h
===================================================================
--- branches/SAMBA_4_0/source/smb_server/smb_server.h	2006-05-20 11:50:10 UTC (rev 15744)
+++ branches/SAMBA_4_0/source/smb_server/smb_server.h	2006-05-20 12:08:27 UTC (rev 15745)
@@ -225,14 +225,22 @@
 	struct smbsrv_session *session;
 
 	/* a set of flags to control usage of the request. See SMBSRV_REQ_CONTROL_* */
-	unsigned control_flags;
+	uint32_t control_flags;
 
+	/* the system time when the request arrived */
+	struct timeval request_time;
+
+	/* a pointer to the per request union smb_* io structure */
+	void *io_ptr;
+
+	/* the ntvfs_request */
+	struct ntvfs_request *ntvfs;
+
+	/* Now the SMB specific stuff */
+
 	/* the flags from the SMB request, in raw form (host byte order) */
 	uint16_t flags2;
 
-	/* the system time when the request arrived */
-	struct timeval request_time;
-
 	/* this can contain a fnum from an earlier part of a chained
 	 * message (such as an SMBOpenX), or -1 */
 	int chained_fnum;
@@ -243,12 +251,6 @@
 	/* the sequence number for signing */
 	uint64_t seq_num;
 
-	/* a pointer to the per request union smb_* io structure */
-	void *io_ptr;
-
-	/* the ntvfs_request */
-	struct ntvfs_request *ntvfs;
-
 	struct request_buffer in;
 	struct request_buffer out;
 };



More information about the samba-cvs mailing list