r23724: Reduce access to the global inbuf a tiny bit. Add a struct smb_request
authorVolker Lendecke <vlendec@samba.org>
Thu, 5 Jul 2007 16:26:27 +0000 (16:26 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:23:48 +0000 (12:23 -0500)
commit0bc56a2e5ffd0e65e4770e10c80d9fec02950b36
treee1d8ede295e811121e252e80c3313697246df29b
parent4ce65137d927a1f464dcd8f3e5b7b13c71adda27
r23724: Reduce access to the global inbuf a tiny bit. Add a struct smb_request
that contains some of the fields from the SMB header, removing the need
to access inbuf directly. This right now is used only in the open file
code & friends, and creating that header is only done when needed. This
needs more work, but it is a start.

Jeremy, I'm only checking this into 3_0, please review before I merge it
to _26.

Volker
(This used to be commit ca988f4e79e977160d82e86486972afd15d4acf5)
source3/include/smb.h
source3/printing/nt_printing.c
source3/rpc_server/srv_srvsvc_nt.c
source3/smbd/dir.c
source3/smbd/nttrans.c
source3/smbd/open.c
source3/smbd/posix_acls.c
source3/smbd/process.c
source3/smbd/reply.c
source3/smbd/trans2.c