From 370e7209dbafce147a5e9f283d9dcc53c72bce99 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 29 Apr 2009 18:26:02 -0700 Subject: Make cli_unlink async. Jeremy. --- source3/include/proto.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'source3/include/proto.h') diff --git a/source3/include/proto.h b/source3/include/proto.h index 962215b79f..11fd45ed5e 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2355,8 +2355,13 @@ struct tevent_req *cli_nt_hardlink_send(TALLOC_CTX *mem_ctx, NTSTATUS cli_nt_hardlink_recv(struct tevent_req *req); NTSTATUS cli_nt_hardlink(struct cli_state *cli, const char *fname_src, const char *fname_dst); -bool cli_unlink_full(struct cli_state *cli, const char *fname, uint16_t attrs); -bool cli_unlink(struct cli_state *cli, const char *fname); +struct tevent_req *cli_unlink_send(TALLOC_CTX *mem_ctx, + struct event_context *ev, + struct cli_state *cli, + const char *fname, + uint16_t mayhave_attrs); +NTSTATUS cli_unlink_recv(struct tevent_req *req); +NTSTATUS cli_unlink(struct cli_state *cli, const char *fname, uint16_t mayhave_attrs); struct tevent_req *cli_mkdir_send(TALLOC_CTX *mem_ctx, struct event_context *ev, -- cgit