summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-04-29 18:26:02 -0700
committerJeremy Allison <jra@samba.org>2009-04-29 18:26:02 -0700
commit370e7209dbafce147a5e9f283d9dcc53c72bce99 (patch)
tree28a832c3f7ef67d79940d1cbbc5bc604b766ddd7 /source3/include
parentedd25980b03c5fac154967e51705ac1cdb8d4091 (diff)
downloadsamba-370e7209dbafce147a5e9f283d9dcc53c72bce99.tar.gz
samba-370e7209dbafce147a5e9f283d9dcc53c72bce99.tar.bz2
samba-370e7209dbafce147a5e9f283d9dcc53c72bce99.zip
Make cli_unlink async.
Jeremy.
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h9
1 files changed, 7 insertions, 2 deletions
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,