diff options
author | Volker Lendecke <vl@samba.org> | 2009-03-29 13:46:24 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-04-06 21:32:07 +0200 |
commit | 31910810cf03a463e3728db9e0298ad9f73900f7 (patch) | |
tree | 7f08e4edb6bc59fa7e8d1e1d5a8cde23182a3f3c /source3/include | |
parent | ad695b2525e192a75b54b614a17b662070c904ca (diff) | |
download | samba-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.h | 11 |
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, |