summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-01-31 13:36:09 +0100
committerVolker Lendecke <vl@samba.org>2009-01-31 17:50:18 +0100
commitb797c056a60b519da6595ce728846dace5d1dfbd (patch)
tree7037c37b4d6b245b8b076c92b1178c08fdd5e1ce /source3/include/proto.h
parente60d69d67d4064d4aa26644c6bca2dfc1b0f4983 (diff)
downloadsamba-b797c056a60b519da6595ce728846dace5d1dfbd.tar.gz
samba-b797c056a60b519da6595ce728846dace5d1dfbd.tar.bz2
samba-b797c056a60b519da6595ce728846dace5d1dfbd.zip
Add an async np_read wrapper
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index b308e86af7..ca10b7097f 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -6320,6 +6320,11 @@ struct async_req *np_write_send(TALLOC_CTX *mem_ctx, struct event_context *ev,
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);
+struct async_req *np_read_send(TALLOC_CTX *mem_ctx, struct event_context *ev,
+ struct fake_file_handle *handle,
+ uint8_t *data, size_t len);
+NTSTATUS np_read_recv(struct async_req *req, ssize_t *nread,
+ bool *is_data_outstanding);
NTSTATUS np_read(struct fake_file_handle *handle, uint8_t *data, size_t len,
ssize_t *nread, bool *is_data_outstanding);