summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-08-25 13:33:41 +0200
committerVolker Lendecke <vl@samba.org>2008-08-28 17:53:37 +0200
commit128524930d490fb5ea637d99bffb36157c80869b (patch)
treeac12973877b56e5117ead320c5528a037da48770 /source3/include
parent2650207d4adbfd68974fc2b342dd2af079a2552c (diff)
downloadsamba-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.h4
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
*/