summaryrefslogtreecommitdiffstats
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-05-06 16:13:42 -0700
committerJeremy Allison <jra@samba.org>2009-05-06 16:13:42 -0700
commit606edf0f350000978a437ddfb7c23525a16d9854 (patch)
tree976f7948635fcc032edc247d0891ae28a5af1ada /source3/include
parent78fb479325ce7073ab8383ada3903080d12aef91 (diff)
downloadsamba-606edf0f350000978a437ddfb7c23525a16d9854.tar.gz
samba-606edf0f350000978a437ddfb7c23525a16d9854.tar.xz
samba-606edf0f350000978a437ddfb7c23525a16d9854.zip
Make cli_setatr async.
Jeremy.
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 9a8b6a8fc9b..c8b79278ea6 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,