summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-11-12 18:43:34 +0100
committerVolker Lendecke <vl@samba.org>2008-12-08 22:09:33 +0100
commitf0bb53dd0fc0d8b2191eda7fc857f146093e0f83 (patch)
tree7a4d78c3dc6401c3fe80f03225f8a34a17ce3b66 /source3/include
parent53c41661bd9692c7bdba04b7de6adc3887ab529f (diff)
downloadsamba-f0bb53dd0fc0d8b2191eda7fc857f146093e0f83.tar.gz
samba-f0bb53dd0fc0d8b2191eda7fc857f146093e0f83.tar.bz2
samba-f0bb53dd0fc0d8b2191eda7fc857f146093e0f83.zip
Factor out smb_splice_chain(), to be used by chain_reply() in smbd
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/async_smb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/async_smb.h b/source3/include/async_smb.h
index 4e2061813f..24ea6649d9 100644
--- a/source3/include/async_smb.h
+++ b/source3/include/async_smb.h
@@ -125,6 +125,9 @@ bool cli_chain_cork(struct cli_state *cli, struct event_context *ev,
size_t size_hint);
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,
+ uint16_t num_bytes, const uint8_t *bytes);
NTSTATUS cli_pull_reply(struct async_req *req,
uint8_t *pwct, uint16_t **pvwv,