diff options
author | Volker Lendecke <vl@samba.org> | 2008-11-16 18:02:17 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-12-08 22:09:33 +0100 |
commit | ed25c6c287ca4f5d019d5f0012b1ff40d5e8e328 (patch) | |
tree | b5ba1d9a69c4ffeef0658aff77f12691079c3be2 /source3/include/async_smb.h | |
parent | f0bb53dd0fc0d8b2191eda7fc857f146093e0f83 (diff) | |
download | samba-ed25c6c287ca4f5d019d5f0012b1ff40d5e8e328.tar.gz samba-ed25c6c287ca4f5d019d5f0012b1ff40d5e8e328.tar.bz2 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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/async_smb.h b/source3/include/async_smb.h index 24ea6649d9..25fd353632 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, |