summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-26 10:35:15 +0200
committerVolker Lendecke <vl@samba.org>2010-07-26 23:01:38 +0200
commit2ad4b4f63ef6e8fa8f875135a4fa5764ef57c6ac (patch)
tree4aa534270efe780fe93470c9f17f105acacc2150 /source3/include
parent27fb920ee8caade141cf0fd39e75afac7f4b5d0b (diff)
downloadsamba-2ad4b4f63ef6e8fa8f875135a4fa5764ef57c6ac.tar.gz
samba-2ad4b4f63ef6e8fa8f875135a4fa5764ef57c6ac.tar.bz2
samba-2ad4b4f63ef6e8fa8f875135a4fa5764ef57c6ac.zip
s3: Convert cli_qpathinfo_streams to cli_qpathinfo_send
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 03b2277fd5..16110f2cde 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2683,10 +2683,18 @@ NTSTATUS cli_qpathinfo2(struct cli_state *cli, const char *fname,
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,
- struct stream_struct **pstreams);
+struct tevent_req *cli_qpathinfo_streams_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ struct cli_state *cli,
+ const char *fname);
+NTSTATUS cli_qpathinfo_streams_recv(struct tevent_req *req,
+ TALLOC_CTX *mem_ctx,
+ unsigned int *pnum_streams,
+ struct stream_struct **pstreams);
+NTSTATUS cli_qpathinfo_streams(struct cli_state *cli, const char *fname,
+ TALLOC_CTX *mem_ctx,
+ unsigned int *pnum_streams,
+ struct stream_struct **pstreams);
bool cli_qfilename(struct cli_state *cli, uint16_t fnum, char *name, size_t namelen);
bool cli_qfileinfo(struct cli_state *cli, uint16_t fnum,
uint16 *mode, SMB_OFF_T *size,