summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-08-01 23:18:15 +0200
committerVolker Lendecke <vl@samba.org>2008-08-28 17:53:36 +0200
commit8f408a676eb1d2bac665d8212d727dafeecd386e (patch)
tree7b765a8cf024c351feec379357b633fb4d695b24 /source3/include
parent58aa97c0d9db06588d1aba4f06a3c98ed2098d8f (diff)
downloadsamba-8f408a676eb1d2bac665d8212d727dafeecd386e.tar.gz
samba-8f408a676eb1d2bac665d8212d727dafeecd386e.tar.bz2
samba-8f408a676eb1d2bac665d8212d727dafeecd386e.zip
Add async cli_close
(This used to be commit f84a2b5dbf8a072a9e356fa39523f65d042a2643)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 0e691d9062..41185a63b9 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -4379,6 +4379,9 @@ int cli_nt_create_full(struct cli_state *cli, const char *fname,
uint8 SecuityFlags);
int cli_nt_create(struct cli_state *cli, const char *fname, uint32 DesiredAccess);
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);
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,