summaryrefslogtreecommitdiffstats
path: root/source3/include/smb.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-11-27 18:34:56 +0100
committerJeremy Allison <jra@samba.org>2014-12-04 05:45:09 +0100
commit6b2f19a5e6e8b3eb2a44cd24408ba4f27cfb8745 (patch)
tree1472e1c6a0959a17f69d13cf162173a33e736265 /source3/include/smb.h
parent14fac5dbc05823562760ac424522fb39817ec062 (diff)
downloadsamba-6b2f19a5e6e8b3eb2a44cd24408ba4f27cfb8745.tar.gz
samba-6b2f19a5e6e8b3eb2a44cd24408ba4f27cfb8745.tar.xz
samba-6b2f19a5e6e8b3eb2a44cd24408ba4f27cfb8745.zip
s3:open_files.idl: add data structures for SMB2.1 and SMB3.0 leases.
Pair-Programmed-With: Volker Lendecke <vl@samba.org> Signed-off-by: Volker Lendecke <vl@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r--source3/include/smb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 53d3edc60f..a6589dbac7 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -577,6 +577,7 @@ enum remote_arch_types {RA_UNKNOWN, RA_WFWG, RA_OS2, RA_WIN95, RA_WINNT,
#define EXCLUSIVE_OPLOCK OPLOCK_EXCLUSIVE
#define BATCH_OPLOCK OPLOCK_BATCH
#define LEVEL_II_OPLOCK OPLOCK_LEVEL_II
+#define LEASE_OPLOCK 0x100
/* The following are Samba-private. */
#define INTERNAL_OPEN_ONLY 0x8