summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-04-26 10:52:39 -0700
committerJeremy Allison <jra@samba.org>2011-04-26 12:22:55 -0700
commitd018fccb705e91f33f3211cdc5b8a4006d032f65 (patch)
tree3c8b98a64910bf0ab3b458a6c81db7cc8daf47dc /source3/include/proto.h
parent7a4cff842d342d77631912fdcee05521506eec52 (diff)
downloadsamba-d018fccb705e91f33f3211cdc5b8a4006d032f65.tar.gz
samba-d018fccb705e91f33f3211cdc5b8a4006d032f65.tar.bz2
samba-d018fccb705e91f33f3211cdc5b8a4006d032f65.zip
s3: Add cli_writeall
Signed-off-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 69672cfdf5..a729cf6057 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1773,6 +1773,10 @@ struct tevent_req *cli_write_andx_send(TALLOC_CTX *mem_ctx,
off_t offset, size_t size);
NTSTATUS cli_write_andx_recv(struct tevent_req *req, size_t *pwritten);
+NTSTATUS cli_writeall(struct cli_state *cli, uint16_t fnum, uint16_t mode,
+ const uint8_t *buf, off_t offset, size_t size,
+ size_t *pwritten);
+
struct tevent_req *cli_push_send(TALLOC_CTX *mem_ctx, struct event_context *ev,
struct cli_state *cli,
uint16_t fnum, uint16_t mode,