From bd088b4639213af8a2ee8c700e2c1105ba095674 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sun, 21 Aug 2022 11:17:19 +0200 Subject: s3:open_files.idl: add share_mode_entry_op_type This makes it easier to read log files... BUG: https://bugzilla.samba.org/show_bug.cgi?id=15125 Signed-off-by: Stefan Metzmacher Reviewed-by: Jeremy Allison --- source3/librpc/idl/open_files.idl | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'source3/librpc') diff --git a/source3/librpc/idl/open_files.idl b/source3/librpc/idl/open_files.idl index 49bc09d77b6..710af36ea27 100644 --- a/source3/librpc/idl/open_files.idl +++ b/source3/librpc/idl/open_files.idl @@ -12,10 +12,19 @@ import "misc.idl"; interface open_files { + typedef [enum16bit] enum { + SHARE_MODE_ENTRY_OP_TYPE_NONE = 0, + SHARE_MODE_ENTRY_OP_TYPE_EXCLUSIVE = 1, + SHARE_MODE_ENTRY_OP_TYPE_BATCH_WITHOUT_EXCLUSIVE = 2, + SHARE_MODE_ENTRY_OP_TYPE_BATCH = 3, + SHARE_MODE_ENTRY_OP_TYPE_LEVEL_II = 4, + SHARE_MODE_ENTRY_OP_TYPE_LEASE = 0x100 + } share_mode_entry_op_type; + typedef [public] struct { server_id pid; hyper op_mid; - uint16 op_type; + share_mode_entry_op_type op_type; GUID client_guid; smb2_lease_key lease_key; uint32 access_mask; -- cgit v1.2.1