s4:libcli:smb2: add durable handle v2 data to the smb2_create i/o structure
authorMichael Adam <obnox@samba.org>
Mon, 27 Feb 2012 01:35:24 +0000 (02:35 +0100)
committerMichael Adam <obnox@samba.org>
Sat, 3 Mar 2012 16:03:06 +0000 (17:03 +0100)
source4/libcli/raw/interfaces.h

index 7aba48b43416874ad4ab59efb74af859ec665a04..695c13fce635afe0eba323058f52834b9e007a7d 100644 (file)
@@ -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;