diff options
author | Jeremy Allison <jra@samba.org> | 2009-04-29 10:48:16 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-04-29 10:48:16 -0700 |
commit | edd25980b03c5fac154967e51705ac1cdb8d4091 (patch) | |
tree | 797e10e71a7f42b0593ed9b3a28dd03d5ac87fe5 /source3/include | |
parent | 8aa41bdeb21d087cba1ab20bd2a4bd69cd519881 (diff) | |
download | samba-edd25980b03c5fac154967e51705ac1cdb8d4091.tar.gz samba-edd25980b03c5fac154967e51705ac1cdb8d4091.tar.bz2 samba-edd25980b03c5fac154967e51705ac1cdb8d4091.zip |
More async calls in libsmb/clifile.c
Jeremy.
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 2eb838fd2a..962215b79f 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2339,10 +2339,25 @@ struct tevent_req *cli_rename_send(TALLOC_CTX *mem_ctx, const char *fname_dst); NTSTATUS cli_rename_recv(struct tevent_req *req); NTSTATUS cli_rename(struct cli_state *cli, const char *fname_src, const char *fname_dst); -bool cli_ntrename(struct cli_state *cli, const char *fname_src, const char *fname_dst); -bool cli_nt_hardlink(struct cli_state *cli, const char *fname_src, const char *fname_dst); +struct tevent_req *cli_ntrename_send(TALLOC_CTX *mem_ctx, + struct event_context *ev, + struct cli_state *cli, + const char *fname_src, + const char *fname_dst); +NTSTATUS cli_ntrename_recv(struct tevent_req *req); +NTSTATUS cli_ntrename(struct cli_state *cli, const char *fname_src, const char *fname_dst); + +struct tevent_req *cli_nt_hardlink_send(TALLOC_CTX *mem_ctx, + struct event_context *ev, + struct cli_state *cli, + const char *fname_src, + const char *fname_dst); +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_mkdir_send(TALLOC_CTX *mem_ctx, struct event_context *ev, struct cli_state *cli, |