diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-07-02 17:47:33 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-07-02 22:25:49 +0200 |
commit | c281638bc4e0dfbad8365a6354fded749960835d (patch) | |
tree | 25c8dade52759ae745da62a2b50dbced23f05fad /source4/libcli/smb2 | |
parent | bc957dc4ebbe94c41f6177deb850406717f93db2 (diff) | |
download | samba-c281638bc4e0dfbad8365a6354fded749960835d.tar.gz samba-c281638bc4e0dfbad8365a6354fded749960835d.tar.bz2 samba-c281638bc4e0dfbad8365a6354fded749960835d.zip |
s4:libcli: move SMB2 lock flags to smb2_constants.h
metze
Diffstat (limited to 'source4/libcli/smb2')
-rw-r--r-- | source4/libcli/smb2/smb2_constants.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/libcli/smb2/smb2_constants.h b/source4/libcli/smb2/smb2_constants.h index 48f30972dc..f1681a3076 100644 --- a/source4/libcli/smb2/smb2_constants.h +++ b/source4/libcli/smb2/smb2_constants.h @@ -105,6 +105,14 @@ #define SMB2_SECURITY_DYNAMIC_TRACKING 0x01 #define SMB2_SECURITY_EFFECTIVE_ONLY 0x02 +/* SMB2 lock flags */ +#define SMB2_LOCK_FLAG_NONE 0x00000000 +#define SMB2_LOCK_FLAG_SHARED 0x00000001 +#define SMB2_LOCK_FLAG_EXCLUSIVE 0x00000002 +#define SMB2_LOCK_FLAG_UNLOCK 0x00000004 +#define SMB2_LOCK_FLAG_FAIL_IMMEDIATELY 0x00000010 +#define SMB2_LOCK_FLAG_ALL_MASK 0x00000017 + /* SMB2 requested oplock levels */ #define SMB2_OPLOCK_LEVEL_NONE 0x00 #define SMB2_OPLOCK_LEVEL_II 0x01 |