From 606edf0f350000978a437ddfb7c23525a16d9854 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 6 May 2009 16:13:42 -0700 Subject: Make cli_setatr async. Jeremy. --- source3/include/proto.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'source3/include/proto.h') diff --git a/source3/include/proto.h b/source3/include/proto.h index 9a8b6a8fc9..c8b79278ea 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2486,7 +2486,17 @@ NTSTATUS cli_getatr(struct cli_state *cli, uint16_t *attr, SMB_OFF_T *size, time_t *write_time); -bool cli_setatr(struct cli_state *cli, const char *fname, uint16_t attr, time_t t); +struct tevent_req *cli_setatr_send(TALLOC_CTX *mem_ctx, + struct event_context *ev, + struct cli_state *cli, + const char *fname, + uint16_t attr, + time_t mtime); +NTSTATUS cli_setatr_recv(struct tevent_req *req); +NTSTATUS cli_setatr(struct cli_state *cli, + const char *fname, + uint16_t attr, + time_t mtime); struct tevent_req *cli_chkpath_send(TALLOC_CTX *mem_ctx, struct event_context *ev, struct cli_state *cli, -- cgit