diff options
author | Jeremy Allison <jra@samba.org> | 2009-04-28 16:43:16 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-04-28 16:43:16 -0700 |
commit | bd6447dcf26ec217f335784f05df304d45288850 (patch) | |
tree | 6e982a5746e120aa6e97d181e1c13916178d61c3 /source3/include | |
parent | 06e404f5743d1ccce0f4c51ca3ef97927f801a42 (diff) | |
download | samba-bd6447dcf26ec217f335784f05df304d45288850.tar.gz samba-bd6447dcf26ec217f335784f05df304d45288850.tar.bz2 samba-bd6447dcf26ec217f335784f05df304d45288850.zip |
Convert cli_rename to async.
Jeremy.
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 00a37ddba9..46600e2db2 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2332,7 +2332,13 @@ bool cli_unix_symlink(struct cli_state *cli, const char *oldname, const char *ne bool cli_unix_hardlink(struct cli_state *cli, const char *oldname, const char *newname); bool cli_unix_chmod(struct cli_state *cli, const char *fname, mode_t mode); bool cli_unix_chown(struct cli_state *cli, const char *fname, uid_t uid, gid_t gid); -bool cli_rename(struct cli_state *cli, const char *fname_src, const char *fname_dst); +struct tevent_req *cli_rename_send(TALLOC_CTX *mem_ctx, + struct event_context *ev, + struct cli_state *cli, + const char *fname_src, + 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); bool cli_unlink_full(struct cli_state *cli, const char *fname, uint16_t attrs); |