summaryrefslogtreecommitdiffstats
path: root/source3/smbd/proto.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2014-12-04 21:15:24 -0800
committerJeremy Allison <jra@samba.org>2014-12-05 18:37:10 +0100
commitbddd6004ee400cf90d08d174e9fb867a129433e7 (patch)
tree00927c1aaaea7450f6134d980f9d6704ee0ea33a /source3/smbd/proto.h
parentcd6269c9ea601e89bf9cd8b6c73f79cf594b8c7f (diff)
downloadsamba-bddd6004ee400cf90d08d174e9fb867a129433e7.tar.gz
samba-bddd6004ee400cf90d08d174e9fb867a129433e7.tar.xz
samba-bddd6004ee400cf90d08d174e9fb867a129433e7.zip
s3: leases: send_break_message() public.
We're going to need this to allow async SMB2 setinfo renames to send lease break messages as well as the open code. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r--source3/smbd/proto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index 3798555682..9980d03132 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -616,6 +616,9 @@ NTSTATUS change_dir_owner_to_parent(connection_struct *conn,
const char *fname,
SMB_STRUCT_STAT *psbuf);
bool is_stat_open(uint32 access_mask);
+NTSTATUS send_break_message(struct messaging_context *msg_ctx,
+ const struct share_mode_entry *exclusive,
+ uint16_t break_to);
struct deferred_open_record;
bool is_deferred_open_async(const struct deferred_open_record *rec);
NTSTATUS create_directory(connection_struct *conn, struct smb_request *req,