summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-11-10 10:01:26 +0100
committerVolker Lendecke <vl@samba.org>2009-01-16 13:00:28 +0100
commitba981128ac0ba5b6b6f865d72a26509fb52a4a3e (patch)
tree2a3ddf28bf25e0cd63af1fed77004d0feff77ad1 /source3/include
parent740c5ce08138bca3c44dc3cccdd75abdb83752d5 (diff)
downloadsamba-ba981128ac0ba5b6b6f865d72a26509fb52a4a3e.tar.gz
samba-ba981128ac0ba5b6b6f865d72a26509fb52a4a3e.tar.bz2
samba-ba981128ac0ba5b6b6f865d72a26509fb52a4a3e.zip
Add a new implementation of chain_reply
This the global variable "orig_inbuf" in the old chain_reply code. This global variable was one of the reasons why we had the silly restriction to not allow async requests within a request chain.
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/smb.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 4d7d4b2f38..3c727bafbf 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -627,7 +627,16 @@ struct smb_request {
size_t unread_bytes;
bool encrypted;
connection_struct *conn;
+
+ /*
+ * Chained request handling
+ */
struct files_struct *chain_fsp;
+
+ /*
+ * Here we collect the outbufs from the chain handlers
+ */
+ uint8_t *chain_outbuf;
};
/* Defines for the sent_oplock_break field above. */