summaryrefslogtreecommitdiffstats
path: root/source4/libcli/raw/interfaces.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-04-19 09:59:07 +0200
committerAndrew Bartlett <abartlet@samba.org>2008-04-19 09:59:07 +0200
commit61fba825940b03ac954208cc0ead4ed2c0af848a (patch)
treea1bd49b2ec3ef31f39307439cdd1c4711644c44c /source4/libcli/raw/interfaces.h
parent0321bc02598087685c6ea144e3920a64ab909b83 (diff)
parentf0eb488d221d2d12d750babac0252aac671d92f4 (diff)
downloadsamba-61fba825940b03ac954208cc0ead4ed2c0af848a.tar.gz
samba-61fba825940b03ac954208cc0ead4ed2c0af848a.tar.xz
samba-61fba825940b03ac954208cc0ead4ed2c0af848a.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet
(This used to be commit 13a0941d3432dc7dae552048265ad1e762b781d4)
Diffstat (limited to 'source4/libcli/raw/interfaces.h')
-rw-r--r--source4/libcli/raw/interfaces.h17
1 files changed, 16 insertions, 1 deletions
diff --git a/source4/libcli/raw/interfaces.h b/source4/libcli/raw/interfaces.h
index cf5a3aa25e..bad3743721 100644
--- a/source4/libcli/raw/interfaces.h
+++ b/source4/libcli/raw/interfaces.h
@@ -1862,7 +1862,8 @@ enum smb_lock_level {
RAW_LOCK_LOCK,
RAW_LOCK_UNLOCK,
RAW_LOCK_LOCKX,
- RAW_LOCK_SMB2
+ RAW_LOCK_SMB2,
+ RAW_LOCK_SMB2_BREAK
};
/* the generic interface is defined to be equal to the lockingX interface */
@@ -1925,6 +1926,20 @@ union smb_lock {
uint16_t unknown1;
} out;
} smb2;
+
+ /* SMB2 Break */
+ struct smb2_break {
+ enum smb_lock_level level;
+ struct {
+ union smb_handle file;
+
+ /* static body buffer 24 (0x18) bytes */
+ uint8_t oplock_level;
+ uint8_t reserved;
+ uint32_t reserved2;
+ /* struct smb2_handle handle; */
+ } in, out;
+ } smb2_break;
};