diff options
author | Volker Lendecke <vl@samba.org> | 2010-07-26 09:27:11 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-07-26 23:01:37 +0200 |
commit | f62bde93ce911445c0f3cb952d17d271a6536385 (patch) | |
tree | b701581a3a5f898539c71ee1ab24115052279084 /source3/include | |
parent | 9a2d08bd3c10b8632c1497cfac3f91bcccbed8a7 (diff) | |
download | samba-f62bde93ce911445c0f3cb952d17d271a6536385.tar.gz samba-f62bde93ce911445c0f3cb952d17d271a6536385.tar.bz2 samba-f62bde93ce911445c0f3cb952d17d271a6536385.zip |
s3: Convert cli_qpathinfo2 to cli_qpathinfo_send
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 25 |
1 files changed, 18 insertions, 7 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index cbfe103000..c802b69951 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2665,13 +2665,24 @@ bool cli_setpathinfo(struct cli_state *cli, const char *fname, time_t write_time, time_t change_time, uint16 mode); -bool cli_qpathinfo2(struct cli_state *cli, const char *fname, - struct timespec *create_time, - struct timespec *access_time, - struct timespec *write_time, - struct timespec *change_time, - SMB_OFF_T *size, uint16 *mode, - SMB_INO_T *ino); +struct tevent_req *cli_qpathinfo2_send(TALLOC_CTX *mem_ctx, + struct event_context *ev, + struct cli_state *cli, + const char *fname); +NTSTATUS cli_qpathinfo2_recv(struct tevent_req *req, + struct timespec *create_time, + struct timespec *access_time, + struct timespec *write_time, + struct timespec *change_time, + SMB_OFF_T *size, uint16 *mode, + SMB_INO_T *ino); +NTSTATUS cli_qpathinfo2(struct cli_state *cli, const char *fname, + struct timespec *create_time, + struct timespec *access_time, + struct timespec *write_time, + struct timespec *change_time, + SMB_OFF_T *size, uint16 *mode, + SMB_INO_T *ino); bool cli_qpathinfo_streams(struct cli_state *cli, const char *fname, TALLOC_CTX *mem_ctx, unsigned int *pnum_streams, |