diff options
author | Jeremy Allison <jra@samba.org> | 2019-12-13 11:48:05 -0800 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2019-12-16 15:32:08 +0000 |
commit | af2d54bfce8e389473cdb546155dc58d547011f9 (patch) | |
tree | 2faf77582edc6e45a5b1c7a5fc5f99a0b7fe5b84 /source3/smbd/proto.h | |
parent | cc1ec0a9f135ec32c05ae04d0b3bd47fdef5d47d (diff) | |
download | samba-af2d54bfce8e389473cdb546155dc58d547011f9.tar.gz |
s3: smbd: msdfs: Factor out the code to create a msdfs:referral,list into a separate function.
This will allow it to be called from other places once the get/set_msdfs
calls are moved into being first class VFS functions.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Mon Dec 16 15:32:08 UTC 2019 on sn-devel-184
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r-- | source3/smbd/proto.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h index 378c5d04918..8d491c24bf3 100644 --- a/source3/smbd/proto.h +++ b/source3/smbd/proto.h @@ -486,6 +486,10 @@ bool create_junction(TALLOC_CTX *ctx, const char *dfs_path, bool allow_broken_path, struct junction_map *jucn); +struct referral; +char *msdfs_link_string(TALLOC_CTX *ctx, + const struct referral *reflist, + size_t referral_count); bool create_msdfs_link(const struct junction_map *jucn); bool remove_msdfs_link(const struct junction_map *jucn); struct junction_map *enum_msdfs_links(TALLOC_CTX *ctx, size_t *p_num_jn); |