From 8f93068cf8fc3d282e0975cc5cbdcd2098b10d52 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 4 Mar 2012 12:10:04 +0100 Subject: 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 Autobuild-Date: Sat Mar 10 17:14:05 CET 2012 on sn-devel-104 --- source3/include/smb.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3/include/smb.h') 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. */ -- cgit