summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-03-29 13:46:24 +0200
committerVolker Lendecke <vl@samba.org>2009-04-06 21:32:07 +0200
commit31910810cf03a463e3728db9e0298ad9f73900f7 (patch)
tree7f08e4edb6bc59fa7e8d1e1d5a8cde23182a3f3c /source3/include
parentad695b2525e192a75b54b614a17b662070c904ca (diff)
downloadsamba-31910810cf03a463e3728db9e0298ad9f73900f7.tar.gz
samba-31910810cf03a463e3728db9e0298ad9f73900f7.tar.bz2
samba-31910810cf03a463e3728db9e0298ad9f73900f7.zip
Convert cli_close to tevent_req
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index c42c92e755..557e5f2c71 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2518,9 +2518,14 @@ struct async_req *cli_open_send(TALLOC_CTX *mem_ctx, struct event_context *ev,
const char *fname, int flags, int share_mode);
NTSTATUS cli_open_recv(struct async_req *req, int *fnum);
int cli_open(struct cli_state *cli, const char *fname, int flags, int share_mode);
-struct async_req *cli_close_send(TALLOC_CTX *mem_ctx, struct event_context *ev,
- struct cli_state *cli, int fnum);
-NTSTATUS cli_close_recv(struct async_req *req);
+struct tevent_req *cli_close_create(TALLOC_CTX *mem_ctx,
+ struct event_context *ev,
+ struct cli_state *cli, int fnum,
+ struct tevent_req **psubreq);
+struct tevent_req *cli_close_send(TALLOC_CTX *mem_ctx,
+ struct event_context *ev,
+ struct cli_state *cli, int fnum);
+NTSTATUS cli_close_recv(struct tevent_req *req);
bool cli_close(struct cli_state *cli, int fnum);
bool cli_ftruncate(struct cli_state *cli, int fnum, uint64_t size);
NTSTATUS cli_locktype(struct cli_state *cli, int fnum,