diff options
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); |