summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-05-29 14:58:34 -0700
committerJeremy Allison <jra@samba.org>2009-05-29 14:58:34 -0700
commit684d3dddd6d7d753f236e4c53893f993de2aa2b7 (patch)
tree677d4f4d14a6b53b7cc5fe075e25dfed1565aa2d /source3/include
parent2b68fb7cb4ab5b76028c54ef163badd2952fe0c0 (diff)
downloadsamba-684d3dddd6d7d753f236e4c53893f993de2aa2b7.tar.gz
samba-684d3dddd6d7d753f236e4c53893f993de2aa2b7.tar.bz2
samba-684d3dddd6d7d753f236e4c53893f993de2aa2b7.zip
Make cli_nt_delete_on_close() async.
Jeremy.
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index a0ff361411..81d254f1ff 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2442,7 +2442,13 @@ struct tevent_req *cli_rmdir_send(TALLOC_CTX *mem_ctx,
const char *dname);
NTSTATUS cli_rmdir_recv(struct tevent_req *req);
NTSTATUS cli_rmdir(struct cli_state *cli, const char *dname);
-int cli_nt_delete_on_close(struct cli_state *cli, uint16_t fnum, bool flag);
+struct tevent_req *cli_nt_delete_on_close_send(TALLOC_CTX *mem_ctx,
+ struct event_context *ev,
+ struct cli_state *cli,
+ uint16_t fnum,
+ bool flag);
+NTSTATUS cli_nt_delete_on_close_recv(struct tevent_req *req);
+NTSTATUS cli_nt_delete_on_close(struct cli_state *cli, uint16_t fnum, bool flag);
struct tevent_req *cli_ntcreate_send(TALLOC_CTX *mem_ctx,
struct event_context *ev,
struct cli_state *cli,