summaryrefslogtreecommitdiffstats
path: root/libgpo
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2013-12-13 15:54:10 +0100
committerAndreas Schneider <asn@samba.org>2013-12-18 14:48:24 +0100
commite3be1d118831670b89acb3799c9e3b3f7789fb0f (patch)
treeaa97240171449b4a675c0680556d09332c5b7d3b /libgpo
parent8fef712eff881fdd48cfd656856826c9f014406c (diff)
downloadsamba-e3be1d118831670b89acb3799c9e3b3f7789fb0f.tar.gz
samba-e3be1d118831670b89acb3799c9e3b3f7789fb0f.tar.xz
samba-e3be1d118831670b89acb3799c9e3b3f7789fb0f.zip
libgpo: clean up CSE api, remove unrequired references to ads_struct.
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/gpext/gpext.c5
-rw-r--r--libgpo/gpext/gpext.h5
-rw-r--r--libgpo/gpo_util.c2
3 files changed, 5 insertions, 7 deletions
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]);