diff options
author | Richard Sharpe <richard.sharpe@primarydata.com> | 2017-06-26 09:43:31 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2017-07-07 00:52:24 +0200 |
commit | b6d6f67bad397f30b6b5779c4e8ba8bf12f49d4b (patch) | |
tree | 884c3ea83aaa6a813a65296c2580951c3a574a15 /source3/libsmb/proto.h | |
parent | 1de439035308b80a6bedc8110d02a4c29388c975 (diff) | |
download | samba-b6d6f67bad397f30b6b5779c4e8ba8bf12f49d4b.tar.gz |
Add support for passing the max_referral_level into the cli call to get a DFS referral. This is being done so I can write tests of the DFS referral code on the server side.
Signed-off-by: Richard Sharpe <richard.sharpe@primarydata.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/libsmb/proto.h')
-rw-r--r-- | source3/libsmb/proto.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/libsmb/proto.h b/source3/libsmb/proto.h index 47b9cf190bd..05d91f79f83 100644 --- a/source3/libsmb/proto.h +++ b/source3/libsmb/proto.h @@ -152,6 +152,13 @@ NTSTATUS cli_cm_open(TALLOC_CTX *ctx, struct cli_state **pcli); void cli_cm_display(struct cli_state *c); struct client_dfs_referral; +NTSTATUS cli_dfs_get_referral_ex(TALLOC_CTX *ctx, + struct cli_state *cli, + const char *path, + uint16_t max_referral_level, + struct client_dfs_referral **refs, + size_t *num_refs, + size_t *consumed); NTSTATUS cli_dfs_get_referral(TALLOC_CTX *ctx, struct cli_state *cli, const char *path, |