diff options
author | Volker Lendecke <vl@samba.org> | 2008-08-25 13:33:41 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-08-28 17:53:37 +0200 |
commit | 128524930d490fb5ea637d99bffb36157c80869b (patch) | |
tree | ac12973877b56e5117ead320c5528a037da48770 /source3/include | |
parent | 2650207d4adbfd68974fc2b342dd2af079a2552c (diff) | |
download | samba-128524930d490fb5ea637d99bffb36157c80869b.tar.gz samba-128524930d490fb5ea637d99bffb36157c80869b.tar.bz2 samba-128524930d490fb5ea637d99bffb36157c80869b.zip |
Add cli_pull_reply
Along the lines of cli_request_send this abstracts away the smb-level buffer
handling when parsing replies we got from the server.
(This used to be commit 253134d3aaa359fdfb665709dd5686f69af7f8fd)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/async_smb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/async_smb.h b/source3/include/async_smb.h index 40a8d3476e..93d2273239 100644 --- a/source3/include/async_smb.h +++ b/source3/include/async_smb.h @@ -37,6 +37,10 @@ struct async_req *cli_request_send(TALLOC_CTX *mem_ctx, struct cli_request *cli_request_get(struct async_req *req); +NTSTATUS cli_pull_reply(struct async_req *req, + uint8_t *pwct, uint16_t **pvwv, + uint16_t *pnum_bytes, uint8_t **pbytes); + /* * Fetch an error out of a NBT packet */ |