summaryrefslogtreecommitdiff
path: root/source4/libcli/raw
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2008-05-28 15:27:50 +1000
committerAndrew Tridgell <tridge@samba.org>2008-05-28 15:27:50 +1000
commit2173169e191754887acddb669a937b872b7ce017 (patch)
tree7ae2a3ac9f6408107dfcfc40cb658d5e31bf1df4 /source4/libcli/raw
parentbb264d3a1f212be7eca4b38e61db19de8a26e158 (diff)
downloadsamba-2173169e191754887acddb669a937b872b7ce017.tar.gz
samba-2173169e191754887acddb669a937b872b7ce017.tar.bz2
samba-2173169e191754887acddb669a937b872b7ce017.zip
added support for all of the known SMB2 create tags in our client
library (This used to be commit 597b38e97b01d2137e6ac96ca07cd56fadb2c09e)
Diffstat (limited to 'source4/libcli/raw')
-rw-r--r--source4/libcli/raw/interfaces.h20
1 files changed, 16 insertions, 4 deletions
diff --git a/source4/libcli/raw/interfaces.h b/source4/libcli/raw/interfaces.h
index 17c85138ac..d170006d3b 100644
--- a/source4/libcli/raw/interfaces.h
+++ b/source4/libcli/raw/interfaces.h
@@ -1586,9 +1586,17 @@ union smb_open {
/* dynamic body */
const char *fname;
- /* optional list of extended attributes */
+ /* now some optional parameters - encoded as tagged blobs */
struct smb_ea_list eas;
-
+ uint64_t alloc_size;
+ struct security_descriptor *sec_desc;
+ bool durable_open;
+ struct smb2_handle *durable_handle;
+ bool query_maximal_access;
+ NTTIME timewarp;
+ bool query_on_disk_id;
+
+ /* and any additional blobs the caller wants */
struct smb2_create_blobs {
uint32_t num_blobs;
struct smb2_create_blob {
@@ -1617,8 +1625,12 @@ union smb_open {
/* uint32_t blob_ofs; */
/* uint32_t blob_size; */
- /* dynamic body */
- DATA_BLOB blob;
+ /* optional return values matching tagged values in the call */
+ uint32_t maximal_access;
+ uint8_t on_disk_id[32];
+
+ /* tagged blobs in the reply */
+ struct smb2_create_blobs blobs;
} out;
} smb2;
};