libgpo: make gpo_get_gp_ext_from_gpo public.
authorGünther Deschner <gd@samba.org>
Wed, 18 Dec 2013 19:02:58 +0000 (20:02 +0100)
committerAndreas Schneider <asn@samba.org>
Tue, 7 Jan 2014 15:59:38 +0000 (16:59 +0100)
Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
libgpo/gpo.h
libgpo/gpo_util.c

index 9fcb23077677d66cea912e6e63b7e2f47234c78a..2e247e5652431871e47881738acc6749b998f6ed 100644 (file)
@@ -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"
 
index 13f271de9f949b97faae955a977fc4e52e8a84ef..32d3aa2be3721f4a8392b5ebb627c79274e8cc48 100644 (file)
@@ -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);