summaryrefslogtreecommitdiff
path: root/source4/libcli/raw/interfaces.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-05-28 20:03:56 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-05-28 20:03:56 +1000
commitb023ca3e9da21dda21b8242e02778fb8ff4605eb (patch)
treebc2778300890bf09b9f5aea1e76fad5a628eb6bf /source4/libcli/raw/interfaces.h
parent28158eb6eae0095eafade1fd0e4bed8fb45397be (diff)
parent91069754f8f60e2ade0f907c4420e01125405919 (diff)
downloadsamba-b023ca3e9da21dda21b8242e02778fb8ff4605eb.tar.gz
samba-b023ca3e9da21dda21b8242e02778fb8ff4605eb.tar.bz2
samba-b023ca3e9da21dda21b8242e02778fb8ff4605eb.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit ad7f05fd94a19ebae678c733077c59fcea66e5ad)
Diffstat (limited to 'source4/libcli/raw/interfaces.h')
-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;
};