1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-22 05:57:43 +03:00

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>
This commit is contained in:
Günther Deschner 2013-12-18 20:02:58 +01:00 committed by Andreas Schneider
parent 3ef7919e3a
commit 57498dc569
2 changed files with 8 additions and 4 deletions

View 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"

View 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);