summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-04-17 16:48:21 +0200
committerStefan Metzmacher <metze@samba.org>2013-04-30 14:13:41 +0200
commit96a8f6e0fb9042fe125c9552dfb4c3f6d19cb225 (patch)
treec2fe6d86277487d1eaf843c471292eb038c4d78e /source4
parent7e807934e6550308efed814a20ce6d6dabbad557 (diff)
downloadsamba-96a8f6e0fb9042fe125c9552dfb4c3f6d19cb225.tar.gz
samba-96a8f6e0fb9042fe125c9552dfb4c3f6d19cb225.tar.bz2
samba-96a8f6e0fb9042fe125c9552dfb4c3f6d19cb225.zip
libsmb: Move "struct smb2_lease" to common
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/libcli/raw/interfaces.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/source4/libcli/raw/interfaces.h b/source4/libcli/raw/interfaces.h
index fb73f26a42..7bc79cad21 100644
--- a/source4/libcli/raw/interfaces.h
+++ b/source4/libcli/raw/interfaces.h
@@ -54,23 +54,6 @@ struct smb2_handle {
uint64_t data[2];
};
-/*
- SMB2 lease structure (per MS-SMB2 2.2.13)
-*/
-struct smb2_lease_key {
- uint64_t data[2];
-};
-
-struct smb2_lease {
- struct smb2_lease_key lease_key;
- uint32_t lease_state;
- uint32_t lease_flags;
- uint64_t lease_duration; /* should be 0 */
- /* only for v2 */
- struct smb2_lease_key parent_lease_key;
- uint16_t lease_epoch;
-};
-
struct smb2_lease_break {
struct smb2_lease current_lease;
uint32_t break_flags;