summaryrefslogtreecommitdiffstats
path: root/source3/include/async_smb.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-02-20 09:53:58 +0100
committerVolker Lendecke <vl@samba.org>2010-02-22 23:23:18 +0100
commitd122bfc064a0265b1e08dd52bbce61caac1d6a6b (patch)
tree9b3f7d7526c81e1d089f187ed559244df843f9dd /source3/include/async_smb.h
parent91bf841c2e2997f7b39e3e757d3b88054829ed62 (diff)
downloadsamba-d122bfc064a0265b1e08dd52bbce61caac1d6a6b.tar.gz
samba-d122bfc064a0265b1e08dd52bbce61caac1d6a6b.tar.xz
samba-d122bfc064a0265b1e08dd52bbce61caac1d6a6b.zip
s3: Add a talloc_move for the inbuf to cli_smb_recv
Diffstat (limited to 'source3/include/async_smb.h')
-rw-r--r--source3/include/async_smb.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/include/async_smb.h b/source3/include/async_smb.h
index 47fed927393..b73aed00046 100644
--- a/source3/include/async_smb.h
+++ b/source3/include/async_smb.h
@@ -57,8 +57,9 @@ struct tevent_req *cli_smb_send(TALLOC_CTX *mem_ctx, struct event_context *ev,
uint8_t wct, uint16_t *vwv,
uint32_t num_bytes,
const uint8_t *bytes);
-NTSTATUS cli_smb_recv(struct tevent_req *req, uint8_t min_wct,
- uint8_t *pwct, uint16_t **pvwv,
+NTSTATUS cli_smb_recv(struct tevent_req *req,
+ TALLOC_CTX *mem_ctx, uint8_t **pinbuf,
+ uint8_t min_wct, uint8_t *pwct, uint16_t **pvwv,
uint32_t *pnum_bytes, uint8_t **pbytes);
struct tevent_req *cli_smb_oplock_break_waiter_send(TALLOC_CTX *mem_ctx,