summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-10-31 08:19:52 +0100
committerVolker Lendecke <vl@samba.org>2013-04-18 15:11:48 +0200
commitf367d07f521b26cfb5813dd679a4e4883b69752f (patch)
treec082d17e3f760bde9eec35b77931e7ecc4036f75 /libcli
parent1bfc7e863e76124c287228b772c331bc5c9f8616 (diff)
downloadsamba-f367d07f521b26cfb5813dd679a4e4883b69752f.tar.gz
samba-f367d07f521b26cfb5813dd679a4e4883b69752f.tar.bz2
samba-f367d07f521b26cfb5813dd679a4e4883b69752f.zip
libcli/smb: add SMB2_LEASE_FLAG_* defines
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'libcli')
-rw-r--r--libcli/smb/smb2_constants.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcli/smb/smb2_constants.h b/libcli/smb/smb2_constants.h
index 22fe23aca3..60fedbb848 100644
--- a/libcli/smb/smb2_constants.h
+++ b/libcli/smb/smb2_constants.h
@@ -183,6 +183,10 @@
#define SMB2_LEASE_HANDLE 0x02
#define SMB2_LEASE_WRITE 0x04
+/* SMB2 lease flags */
+#define SMB2_LEASE_FLAG_BREAK_IN_PROGRESS 0x00000002
+#define SMB2_LEASE_FLAG_PARENT_LEASE_KEY_SET 0x00000004
+
/* SMB2 lease break flags */
#define SMB2_NOTIFY_BREAK_LEASE_FLAG_ACK_REQUIRED 0x01