summaryrefslogtreecommitdiff
path: root/source3/librpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2022-08-21 11:17:19 +0200
committerJeremy Allison <jra@samba.org>2022-09-20 00:34:34 +0000
commitbd088b4639213af8a2ee8c700e2c1105ba095674 (patch)
tree282a2ac4a7d3ea39f7a6fe73d4024792d2eed39e /source3/librpc
parent170a4812a6b05b667ea6fd7a73d417e09e24e010 (diff)
downloadsamba-bd088b4639213af8a2ee8c700e2c1105ba095674.tar.gz
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 <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/librpc')
-rw-r--r--source3/librpc/idl/open_files.idl11
1 files changed, 10 insertions, 1 deletions
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;