summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-02-27 02:35:24 +0100
committerMichael Adam <obnox@samba.org>2012-03-03 17:03:06 +0100
commitedeed1552d437b82e88288395d8e1db44ac2999a (patch)
treefe1abf0991b35107f197cf31bf392cad188290f7 /source4
parent76e6733344dc4d85a96ff108ca05279f44ffc79e (diff)
downloadsamba-edeed1552d437b82e88288395d8e1db44ac2999a.tar.gz
samba-edeed1552d437b82e88288395d8e1db44ac2999a.tar.bz2
samba-edeed1552d437b82e88288395d8e1db44ac2999a.zip
s4:libcli:smb2: add durable handle v2 data to the smb2_create i/o structure
Diffstat (limited to 'source4')
-rw-r--r--source4/libcli/raw/interfaces.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/source4/libcli/raw/interfaces.h b/source4/libcli/raw/interfaces.h
index 7aba48b434..695c13fce6 100644
--- a/source4/libcli/raw/interfaces.h
+++ b/source4/libcli/raw/interfaces.h
@@ -1709,6 +1709,14 @@ union smb_open {
struct security_descriptor *sec_desc;
bool durable_open;
struct smb2_handle *durable_handle;
+
+ /* data for durable handle v2 */
+ bool durable_open_v2;
+ struct GUID create_guid;
+ bool persistent_open;
+ uint32_t timeout;
+ struct smb2_handle *durable_handle_v2;
+
bool query_maximal_access;
NTTIME timewarp;
bool query_on_disk_id;
@@ -1743,6 +1751,11 @@ union smb_open {
struct smb2_lease lease_response;
bool durable_open;
+ /* durable handle v2 */
+ bool durable_open_v2;
+ bool persistent_open;
+ uint32_t timeout;
+
/* tagged blobs in the reply */
struct smb2_create_blobs blobs;
} out;