diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-04-18 22:19:08 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-04-19 01:54:44 +0200 |
commit | 670b7dcae3d50e62902fce45d6bb1eeef8530f7c (patch) | |
tree | 522520cfe97399d1cebe1c0a2cd7a68c8a667513 /source4/libcli/raw | |
parent | b2f2c1486e9c6bd6fdba3dc321f9df0d29d7def2 (diff) | |
download | samba-670b7dcae3d50e62902fce45d6bb1eeef8530f7c.tar.gz samba-670b7dcae3d50e62902fce45d6bb1eeef8530f7c.tar.bz2 samba-670b7dcae3d50e62902fce45d6bb1eeef8530f7c.zip |
libcli: define structure for SMB2 Break
metze
(This used to be commit 5ffea702c3a1c92a797afab1a3cadf2f2a18729f)
Diffstat (limited to 'source4/libcli/raw')
-rw-r--r-- | source4/libcli/raw/interfaces.h | 17 |
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; }; |