summaryrefslogtreecommitdiff
path: root/source3/libsmb/clirap.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2013-08-07 15:54:05 -0700
committerStefan Metzmacher <metze@samba.org>2013-08-15 09:07:06 +0200
commit28591dfd5d2163d9181d45d64a4a750e335b7c56 (patch)
tree6abefaa642d2790d57047343800ab2db6022bbdb /source3/libsmb/clirap.h
parentc80349e0fad7c182b0bddefed99a78d95323faca (diff)
downloadsamba-28591dfd5d2163d9181d45d64a4a750e335b7c56.tar.gz
samba-28591dfd5d2163d9181d45d64a4a750e335b7c56.tar.bz2
samba-28591dfd5d2163d9181d45d64a4a750e335b7c56.zip
s3:libsmb: Add in the core of the libsmb client SMB2 functions.
These create a synchronous cli_smb2_XXX() style interface designed to plug directly into the libsmb/cliXXXX.c code. https://bugzilla.samba.org/show_bug.cgi?id=9974 Signed-off-by: Jeremy Allison <jra@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/libsmb/clirap.h')
-rw-r--r--source3/libsmb/clirap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/libsmb/clirap.h b/source3/libsmb/clirap.h
index 91628eaf20..e105182f09 100644
--- a/source3/libsmb/clirap.h
+++ b/source3/libsmb/clirap.h
@@ -94,6 +94,10 @@ NTSTATUS cli_qpathinfo_streams(struct cli_state *cli, const char *fname,
TALLOC_CTX *mem_ctx,
unsigned int *pnum_streams,
struct stream_struct **pstreams);
+bool parse_streams_blob(TALLOC_CTX *mem_ctx, const uint8_t *rdata,
+ size_t data_len,
+ unsigned int *pnum_streams,
+ struct stream_struct **pstreams);
NTSTATUS cli_qfilename(struct cli_state *cli, uint16_t fnum,
TALLOC_CTX *mem_ctx, char **name);
NTSTATUS cli_qfileinfo_basic(struct cli_state *cli, uint16_t fnum,