summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-03-04 12:10:04 +0100
committerVolker Lendecke <vl@samba.org>2012-03-10 17:14:05 +0100
commit8f93068cf8fc3d282e0975cc5cbdcd2098b10d52 (patch)
treef4498f43e3286e8af9df20bca60f04d4c78d03ff /source3/include
parent2c1caf5fcb002f5a4e049fcb812c98c435d0f2c9 (diff)
downloadsamba-8f93068cf8fc3d282e0975cc5cbdcd2098b10d52.tar.gz
samba-8f93068cf8fc3d282e0975cc5cbdcd2098b10d52.tar.bz2
samba-8f93068cf8fc3d282e0975cc5cbdcd2098b10d52.zip
s3: Add smb_request_done
This is used to enable async chained command sequences. A synchronous reply_xxx command does not need to take are anymore about and_x chaining. The async commands (pipe r/w at this moment) must do so however. When finished, they must inform the main chain engine that they are finished with a smb_request_done call. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sat Mar 10 17:14:05 CET 2012 on sn-devel-104
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/smb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 8e9dd5162a..382926c07e 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -495,6 +495,11 @@ struct smb_request {
* under privilege.
*/
struct privilege_paths *priv_paths;
+
+ /*
+ * Request list for chained requests, we're part of it.
+ */
+ struct smb_request **chain;
};
/* Defines for the sent_oplock_break field above. */