summaryrefslogtreecommitdiff
path: root/source4/libcli/raw/interfaces.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-07-02 17:47:33 +0200
committerStefan Metzmacher <metze@samba.org>2009-07-02 22:25:49 +0200
commitc281638bc4e0dfbad8365a6354fded749960835d (patch)
tree25c8dade52759ae745da62a2b50dbced23f05fad /source4/libcli/raw/interfaces.h
parentbc957dc4ebbe94c41f6177deb850406717f93db2 (diff)
downloadsamba-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/raw/interfaces.h')
-rw-r--r--source4/libcli/raw/interfaces.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/source4/libcli/raw/interfaces.h b/source4/libcli/raw/interfaces.h
index 3c0d186b87..478b6585d4 100644
--- a/source4/libcli/raw/interfaces.h
+++ b/source4/libcli/raw/interfaces.h
@@ -1988,13 +1988,6 @@ union smb_lock {
struct smb2_lock_element {
uint64_t offset;
uint64_t length;
-/* these flags are the same as the 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
uint32_t flags;
uint32_t reserved;
} *locks;