summaryrefslogtreecommitdiff
path: root/source3/smbd/proto.h
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/smbd/proto.h
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/smbd/proto.h')
-rw-r--r--source3/smbd/proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index a467202ff4..f9eabce0a3 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -780,6 +780,7 @@ bool push_deferred_open_message_smb(struct smb_request *req,
size_t priv_len);
NTSTATUS allow_new_trans(struct trans_state *list, uint64_t mid);
void reply_outbuf(struct smb_request *req, uint8 num_words, uint32 num_bytes);
+void smb_request_done(struct smb_request *req);
const char *smb_fn_name(int type);
void add_to_common_flags2(uint32 v);
void remove_from_common_flags2(uint32 v);