summaryrefslogtreecommitdiffstats
path: root/source3/include/async_smb.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-11-16 18:02:17 +0100
committerVolker Lendecke <vl@samba.org>2008-12-08 22:09:33 +0100
commited25c6c287ca4f5d019d5f0012b1ff40d5e8e328 (patch)
treeb5ba1d9a69c4ffeef0658aff77f12691079c3be2 /source3/include/async_smb.h
parentf0bb53dd0fc0d8b2191eda7fc857f146093e0f83 (diff)
downloadsamba-ed25c6c287ca4f5d019d5f0012b1ff40d5e8e328.tar.gz
samba-ed25c6c287ca4f5d019d5f0012b1ff40d5e8e328.tar.xz
samba-ed25c6c287ca4f5d019d5f0012b1ff40d5e8e328.zip
Add a "bytes_padding" parameter to smb_splice_chain
For example open&x and write&x needs the bytes to be aligned relative to the SMB header. In particular for write&x we should not have to move stuff around.
Diffstat (limited to 'source3/include/async_smb.h')
-rw-r--r--source3/include/async_smb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/async_smb.h b/source3/include/async_smb.h
index 24ea6649d95..25fd353632a 100644
--- a/source3/include/async_smb.h
+++ b/source3/include/async_smb.h
@@ -127,6 +127,7 @@ void cli_chain_uncork(struct cli_state *cli);
bool cli_in_chain(struct cli_state *cli);
bool smb_splice_chain(char **poutbuf, uint8_t smb_command,
uint8_t wct, const uint16_t *vwv,
+ size_t bytes_alignment,
uint16_t num_bytes, const uint8_t *bytes);
NTSTATUS cli_pull_reply(struct async_req *req,