summaryrefslogtreecommitdiff
path: root/libcli/smb/smb2_create_blob.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2013-08-07 15:01:50 -0700
committerStefan Metzmacher <metze@samba.org>2013-08-15 09:07:06 +0200
commit1229881df6bd22d4b5055ad283061332ba1c9bc8 (patch)
tree057f27ed5fd23898ba5a71847a575320a8fd0c6b /libcli/smb/smb2_create_blob.h
parent00f784ec91d2cfa95b20327ac20f5bc3fa1f400e (diff)
downloadsamba-1229881df6bd22d4b5055ad283061332ba1c9bc8.tar.gz
samba-1229881df6bd22d4b5055ad283061332ba1c9bc8.tar.bz2
samba-1229881df6bd22d4b5055ad283061332ba1c9bc8.zip
libcli/smb: Change smb2cli_create() and smb2cli_create_recv() to return a parameter blob of the newly opened/created file.
Will use in the smb2 client code. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'libcli/smb/smb2_create_blob.h')
-rw-r--r--libcli/smb/smb2_create_blob.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libcli/smb/smb2_create_blob.h b/libcli/smb/smb2_create_blob.h
index 008befe41a..2f915b3afe 100644
--- a/libcli/smb/smb2_create_blob.h
+++ b/libcli/smb/smb2_create_blob.h
@@ -33,6 +33,18 @@ struct smb2_create_blobs {
struct smb2_create_blob *blobs;
};
+struct smb2_create_returns {
+ uint8_t oplock_level;
+ uint32_t create_action;
+ NTTIME creation_time;
+ NTTIME last_access_time;
+ NTTIME last_write_time;
+ NTTIME change_time;
+ uint64_t allocation_size;
+ uint64_t end_of_file;
+ uint32_t file_attributes;
+};
+
/*
parse a set of SMB2 create blobs
*/