diff options
author | Günther Deschner <gd@samba.org> | 2013-12-18 20:02:58 +0100 |
---|---|---|
committer | Andreas Schneider <asn@samba.org> | 2014-01-07 16:59:38 +0100 |
commit | 57498dc569eb07403134f88f2872102f15a297c2 (patch) | |
tree | 56dac3d64a3a3f29ee11a1fcf64272683b34a94e /libgpo | |
parent | 3ef7919e3a0c42cb1fef23d8ec3df945a97d1263 (diff) | |
download | samba-57498dc569eb07403134f88f2872102f15a297c2.tar.gz |
libgpo: make gpo_get_gp_ext_from_gpo public.
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'libgpo')
-rw-r--r-- | libgpo/gpo.h | 4 | ||||
-rw-r--r-- | libgpo/gpo_util.c | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/libgpo/gpo.h b/libgpo/gpo.h index 9fcb2307767..2e247e56524 100644 --- a/libgpo/gpo.h +++ b/libgpo/gpo.h @@ -256,6 +256,10 @@ ADS_STATUS gp_get_machine_token(ADS_STRUCT *ads, const char *dn, struct security_token **token); +bool gpo_get_gp_ext_from_gpo(TALLOC_CTX *mem_ctx, + uint32_t flags, + const struct GROUP_POLICY_OBJECT *gpo, + struct GP_EXT **gp_ext); #include "../libgpo/gpext/gpext.h" diff --git a/libgpo/gpo_util.c b/libgpo/gpo_util.c index 13f271de9f9..32d3aa2be37 100644 --- a/libgpo/gpo_util.c +++ b/libgpo/gpo_util.c @@ -392,10 +392,10 @@ void dump_gplink(const struct GP_LINK *gp_link) /**************************************************************** ****************************************************************/ -static bool gpo_get_gp_ext_from_gpo(TALLOC_CTX *mem_ctx, - uint32_t flags, - struct GROUP_POLICY_OBJECT *gpo, - struct GP_EXT **gp_ext) +bool gpo_get_gp_ext_from_gpo(TALLOC_CTX *mem_ctx, + uint32_t flags, + const struct GROUP_POLICY_OBJECT *gpo, + struct GP_EXT **gp_ext) { ZERO_STRUCTP(*gp_ext); |