summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-04-06 20:41:48 +0200
committerVolker Lendecke <vl@samba.org>2009-04-06 21:32:08 +0200
commit0c353b57113b02bccaaa3ec09ff9fb1fd8542bd4 (patch)
tree933a034c3a3cffdbe13e798d746f9e89fbf7b8ec /source3/include
parent64ce0e4645727be7b493fca54fdf6af91f3f7927 (diff)
downloadsamba-0c353b57113b02bccaaa3ec09ff9fb1fd8542bd4.tar.gz
samba-0c353b57113b02bccaaa3ec09ff9fb1fd8542bd4.tar.bz2
samba-0c353b57113b02bccaaa3ec09ff9fb1fd8542bd4.zip
Make cli_oplock_ack async
Diffstat (limited to 'source3/include')
-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 514ee68e7a..d76ee08fd2 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2644,6 +2644,11 @@ bool cli_message_end(struct cli_state *cli, int grp);
/* The following definitions come from libsmb/clioplock.c */
+struct tevent_req *cli_oplock_ack_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ struct cli_state *cli,
+ uint16_t fnum, uint8_t level);
+NTSTATUS cli_oplock_ack_recv(struct tevent_req *req);
bool cli_oplock_ack(struct cli_state *cli, int fnum, unsigned char level);
void cli_oplock_handler(struct cli_state *cli,
bool (*handler)(struct cli_state *, int, unsigned char));