summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-03-15 09:54:23 +0100
committerVolker Lendecke <vl@samba.org>2009-04-06 21:32:07 +0200
commitc23ccff13a6e92b37a104845736e5e8cecd27f35 (patch)
tree48d61f7e4d5ccf9578fe86d8b35f8bcaf1c8d905 /source3/include
parentca7cd350a6ac47b981d6c9a8b671f4c18642a9f2 (diff)
downloadsamba-c23ccff13a6e92b37a104845736e5e8cecd27f35.tar.gz
samba-c23ccff13a6e92b37a104845736e5e8cecd27f35.tar.bz2
samba-c23ccff13a6e92b37a104845736e5e8cecd27f35.zip
Convert cli_read_andx to tevent_req
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index b8353d51c9..d06466def9 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2761,11 +2761,16 @@ int cli_NetConnectionEnum(struct cli_state *cli, const char *qualifier,
/* The following definitions come from libsmb/clireadwrite.c */
-struct async_req *cli_read_andx_send(TALLOC_CTX *mem_ctx,
- struct event_context *ev,
- struct cli_state *cli, int fnum,
- off_t offset, size_t size);
-NTSTATUS cli_read_andx_recv(struct async_req *req, ssize_t *received,
+struct tevent_req *cli_read_andx_create(TALLOC_CTX *mem_ctx,
+ struct event_context *ev,
+ struct cli_state *cli, int fnum,
+ off_t offset, size_t size,
+ struct tevent_req **psmbreq);
+struct tevent_req *cli_read_andx_send(TALLOC_CTX *mem_ctx,
+ struct event_context *ev,
+ struct cli_state *cli, int fnum,
+ 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,