From e3be1d118831670b89acb3799c9e3b3f7789fb0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Fri, 13 Dec 2013 15:54:10 +0100 Subject: libgpo: clean up CSE api, remove unrequired references to ads_struct. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Guenther Signed-off-by: Günther Deschner Reviewed-by: Andreas Schneider --- libgpo/gpext/gpext.c | 5 ++--- libgpo/gpext/gpext.h | 5 ++--- libgpo/gpo_util.c | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) (limited to 'libgpo') diff --git a/libgpo/gpext/gpext.c b/libgpo/gpext/gpext.c index 8da2c5ea9ea..a48d3f59c70 100644 --- a/libgpo/gpext/gpext.c +++ b/libgpo/gpext/gpext.c @@ -678,7 +678,7 @@ void debug_gpext_header(int lvl, TALLOC_FREE(flags_str); } -NTSTATUS process_gpo_list_with_extension(ADS_STRUCT *ads, +NTSTATUS process_gpo_list_with_extension( TALLOC_CTX *mem_ctx, uint32_t flags, const struct security_token *token, @@ -692,8 +692,7 @@ NTSTATUS process_gpo_list_with_extension(ADS_STRUCT *ads, /**************************************************************** ****************************************************************/ -NTSTATUS gpext_process_extension(ADS_STRUCT *ads, - TALLOC_CTX *mem_ctx, +NTSTATUS gpext_process_extension(TALLOC_CTX *mem_ctx, uint32_t flags, const struct security_token *token, struct registry_key *root_key, diff --git a/libgpo/gpext/gpext.h b/libgpo/gpext/gpext.h index 4cd786e02e2..a550f4e02d5 100644 --- a/libgpo/gpext/gpext.h +++ b/libgpo/gpext/gpext.h @@ -104,15 +104,14 @@ void debug_gpext_header(int lvl, struct GROUP_POLICY_OBJECT *gpo, const char *extension_guid, const char *snapin_guid); -NTSTATUS process_gpo_list_with_extension(ADS_STRUCT *ads, +NTSTATUS process_gpo_list_with_extension( TALLOC_CTX *mem_ctx, uint32_t flags, const struct security_token *token, struct GROUP_POLICY_OBJECT *gpo_list, const char *extension_guid, const char *snapin_guid); -NTSTATUS gpext_process_extension(ADS_STRUCT *ads, - TALLOC_CTX *mem_ctx, +NTSTATUS gpext_process_extension(TALLOC_CTX *mem_ctx, uint32_t flags, const struct security_token *token, struct registry_key *root_key, diff --git a/libgpo/gpo_util.c b/libgpo/gpo_util.c index b38a40ceb62..5810e35d6fc 100644 --- a/libgpo/gpo_util.c +++ b/libgpo/gpo_util.c @@ -485,7 +485,7 @@ ADS_STATUS gpo_process_a_gpo(ADS_STRUCT *ads, continue; } - ntstatus = gpext_process_extension(ads, mem_ctx, + ntstatus = gpext_process_extension(mem_ctx, flags, token, root_key, gpo, gp_ext->extensions_guid[i], gp_ext->snapins_guid[i]); -- cgit v1.2.1