summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-04-08 22:39:55 +0200
committerVolker Lendecke <vl@samba.org>2009-04-08 23:11:59 +0200
commit9c89aee5f34aff8b3d54ceafa1a5802b60088b49 (patch)
treedebe39d1717e161c6cfec978b20faa93ccf7c143 /source3/include
parentd0c307af56006d6fb898e395613d7e9c29b84116 (diff)
downloadsamba-9c89aee5f34aff8b3d54ceafa1a5802b60088b49.tar.gz
samba-9c89aee5f34aff8b3d54ceafa1a5802b60088b49.tar.bz2
samba-9c89aee5f34aff8b3d54ceafa1a5802b60088b49.zip
Convert cli_pull to tevent_req
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index b210a3d73b..5f77524bb8 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2779,15 +2779,15 @@ struct tevent_req *cli_read_andx_send(TALLOC_CTX *mem_ctx,
off_t offset, size_t size);
NTSTATUS cli_read_andx_recv(struct tevent_req *req, ssize_t *received,
uint8_t **rcvbuf);
-struct async_req *cli_pull_send(TALLOC_CTX *mem_ctx,
- struct event_context *ev,
- struct cli_state *cli,
- uint16_t fnum, off_t start_offset,
- SMB_OFF_T size, size_t window_size,
- NTSTATUS (*sink)(char *buf, size_t n,
- void *priv),
- void *priv);
-NTSTATUS cli_pull_recv(struct async_req *req, SMB_OFF_T *received);
+struct tevent_req *cli_pull_send(TALLOC_CTX *mem_ctx,
+ struct event_context *ev,
+ struct cli_state *cli,
+ uint16_t fnum, off_t start_offset,
+ SMB_OFF_T size, size_t window_size,
+ NTSTATUS (*sink)(char *buf, size_t n,
+ void *priv),
+ void *priv);
+NTSTATUS cli_pull_recv(struct tevent_req *req, SMB_OFF_T *received);
NTSTATUS cli_pull(struct cli_state *cli, uint16_t fnum,
off_t start_offset, SMB_OFF_T size, size_t window_size,
NTSTATUS (*sink)(char *buf, size_t n, void *priv),