From 0c353b57113b02bccaaa3ec09ff9fb1fd8542bd4 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 6 Apr 2009 20:41:48 +0200 Subject: Make cli_oplock_ack async --- source3/include/proto.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3/include') 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)); -- cgit