diff options
author | Stefan Metzmacher <metze@samba.org> | 2008-04-16 10:03:08 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2008-04-17 01:58:25 +0200 |
commit | 578539216fcb275e5ec013b3ed1c81e4baced80e (patch) | |
tree | 7dc53c3d1a6314700d30c16a5a211ab565d5d27d /source4/libcli/raw | |
parent | b0f34bc8ca072c06b89934fbef516a2f3da0e269 (diff) | |
download | samba-578539216fcb275e5ec013b3ed1c81e4baced80e.tar.gz samba-578539216fcb275e5ec013b3ed1c81e4baced80e.tar.bz2 samba-578539216fcb275e5ec013b3ed1c81e4baced80e.zip |
libcli/smb2: make it possible to pass additional extra blobs in smb2_create()
This also fixes the alignment from 8 to 4 byte bounderies.
metze
(This used to be commit e0a0d8e36acd735b587cd7870625af52c5dc3431)
Diffstat (limited to 'source4/libcli/raw')
-rw-r--r-- | source4/libcli/raw/interfaces.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/libcli/raw/interfaces.h b/source4/libcli/raw/interfaces.h index 61441b2cdc..cf5a3aa25e 100644 --- a/source4/libcli/raw/interfaces.h +++ b/source4/libcli/raw/interfaces.h @@ -1587,6 +1587,14 @@ union smb_open { /* optional list of extended attributes */ struct smb_ea_list eas; + + struct smb2_create_blobs { + uint32_t num_blobs; + struct smb2_create_blob { + const char *tag; + DATA_BLOB data; + } *blobs; + } blobs; } in; struct { union smb_handle file; |