summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-01-31 12:43:25 +0100
committerVolker Lendecke <vl@samba.org>2009-01-31 17:50:18 +0100
commite60d69d67d4064d4aa26644c6bca2dfc1b0f4983 (patch)
treeb60385db18b282d0b9686290d68ee8ff3cc1d9e1 /source3/include
parent582b27be242ad4453e42020cf5309293710768c4 (diff)
downloadsamba-e60d69d67d4064d4aa26644c6bca2dfc1b0f4983.tar.gz
samba-e60d69d67d4064d4aa26644c6bca2dfc1b0f4983.tar.bz2
samba-e60d69d67d4064d4aa26644c6bca2dfc1b0f4983.zip
Add an async np_write wrapper
Diffstat (limited to 'source3/include')
-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 9199d6c0d3..b308e86af7 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -6314,6 +6314,10 @@ NTSTATUS np_open(TALLOC_CTX *mem_ctx, const char *name,
const char *client_address,
struct auth_serversupplied_info *server_info,
struct fake_file_handle **phandle);
+struct async_req *np_write_send(TALLOC_CTX *mem_ctx, struct event_context *ev,
+ struct fake_file_handle *handle,
+ const uint8_t *data, size_t len);
+NTSTATUS np_write_recv(struct async_req *req, ssize_t *nwritten);
NTSTATUS np_write(struct fake_file_handle *handle, const uint8_t *data,
size_t len, ssize_t *nwritten);
NTSTATUS np_read(struct fake_file_handle *handle, uint8_t *data, size_t len,