diff options
author | Volker Lendecke <vl@samba.org> | 2009-03-29 13:28:18 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-04-06 21:32:07 +0200 |
commit | 097db28c5d2d1014ffe63430dbe6f944807faa5c (patch) | |
tree | 4e0617bd8f3828321489842d756dbeba1bd052b8 /source3/include | |
parent | 17b8d05b624bd87dfe3c996cd10be5a981007bac (diff) | |
download | samba-097db28c5d2d1014ffe63430dbe6f944807faa5c.tar.gz samba-097db28c5d2d1014ffe63430dbe6f944807faa5c.tar.bz2 samba-097db28c5d2d1014ffe63430dbe6f944807faa5c.zip |
Convert cli_write_andx to tevent_req
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index d06466def9..c42c92e755 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2793,12 +2793,20 @@ ssize_t cli_write(struct cli_state *cli, const char *buf, off_t offset, size_t size); ssize_t cli_smbwrite(struct cli_state *cli, int fnum, char *buf, off_t offset, size_t size1); -struct async_req *cli_write_andx_send(TALLOC_CTX *mem_ctx, - struct event_context *ev, - struct cli_state *cli, uint16_t fnum, - uint16_t mode, const uint8_t *buf, - off_t offset, size_t size); -NTSTATUS cli_write_andx_recv(struct async_req *req, size_t *pwritten); +struct tevent_req *cli_write_andx_create(TALLOC_CTX *mem_ctx, + struct event_context *ev, + struct cli_state *cli, uint16_t fnum, + uint16_t mode, const uint8_t *buf, + off_t offset, size_t size, + struct tevent_req **reqs_before, + int num_reqs_before, + struct tevent_req **psmbreq); +struct tevent_req *cli_write_andx_send(TALLOC_CTX *mem_ctx, + struct event_context *ev, + struct cli_state *cli, uint16_t fnum, + uint16_t mode, const uint8_t *buf, + off_t offset, size_t size); +NTSTATUS cli_write_andx_recv(struct tevent_req *req, size_t *pwritten); struct async_req *cli_push_send(TALLOC_CTX *mem_ctx, struct event_context *ev, struct cli_state *cli, |