summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-05-06 15:07:05 -0700
committerJeremy Allison <jra@samba.org>2009-05-06 15:07:05 -0700
commit512879a69b6e94c323c37a6c0e56824c097b7f70 (patch)
tree4673c7f00ae7cb4675f4355b4ed3fbe11145b977 /source3/include
parent78754ab2c9b28ea8ab09d3fd1f5450abe721a2c1 (diff)
downloadsamba-512879a69b6e94c323c37a6c0e56824c097b7f70.tar.gz
samba-512879a69b6e94c323c37a6c0e56824c097b7f70.tar.bz2
samba-512879a69b6e94c323c37a6c0e56824c097b7f70.zip
Make cli_setattrE async.
Jeremy.
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 6b1febb160..9a8b6a8fc9 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2460,10 +2460,19 @@ NTSTATUS cli_getattrE(struct cli_state *cli,
time_t *change_time,
time_t *access_time,
time_t *write_time);
-bool cli_setattrE(struct cli_state *cli, int fd,
- time_t change_time,
- time_t access_time,
- time_t write_time);
+struct tevent_req *cli_setattrE_send(TALLOC_CTX *mem_ctx,
+ struct event_context *ev,
+ struct cli_state *cli,
+ uint16_t fnum,
+ time_t change_time,
+ time_t access_time,
+ time_t write_time);
+NTSTATUS cli_setattrE_recv(struct tevent_req *req);
+NTSTATUS cli_setattrE(struct cli_state *cli,
+ uint16_t fnum,
+ time_t change_time,
+ time_t access_time,
+ time_t write_time);
struct tevent_req *cli_getatr_send(TALLOC_CTX *mem_ctx,
struct event_context *ev,
struct cli_state *cli,