summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-07-25 17:26:43 +0200
committerVolker Lendecke <vl@samba.org>2010-07-25 22:29:43 +0200
commit535774d88068052accedb21b626fd97a79502c0e (patch)
tree4a1d90759defd6473f02b5cd9dbf0d350d743a84 /source3/include
parentce3dfd777f8f2da4cb08f6c91a465e647b84a8f1 (diff)
downloadsamba-535774d88068052accedb21b626fd97a79502c0e.tar.gz
samba-535774d88068052accedb21b626fd97a79502c0e.tar.bz2
samba-535774d88068052accedb21b626fd97a79502c0e.zip
s3: Add async cli_qpathinfo
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 37fa0be2f1..51d0c1788d 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2672,6 +2672,17 @@ NTSTATUS cli_qpathinfo_basic(struct cli_state *cli, const char *name,
SMB_STRUCT_STAT *sbuf, uint32 *attributes);
bool cli_qfileinfo_test(struct cli_state *cli, uint16_t fnum, int level, char **poutdata, uint32 *poutlen);
NTSTATUS cli_qpathinfo_alt_name(struct cli_state *cli, const char *fname, fstring alt_name);
+struct tevent_req *cli_qpathinfo_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ struct cli_state *cli, const char *fname,
+ uint16_t level, uint32_t min_rdata,
+ uint32_t max_rdata);
+NTSTATUS cli_qpathinfo_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
+ uint8_t **rdata, uint32_t *num_rdata);
+NTSTATUS cli_qpathinfo(TALLOC_CTX *mem_ctx, struct cli_state *cli,
+ const char *fname, uint16_t level, uint32_t min_rdata,
+ uint32_t max_rdata,
+ uint8_t **rdata, uint32_t *num_rdata);
/* The following definitions come from libsmb/clirap2.c */
struct rap_group_info_1;