summaryrefslogtreecommitdiff
path: root/libgpo/gpext
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2013-12-19 22:23:44 +0100
committerAndreas Schneider <asn@cryptomilk.org>2014-01-07 18:52:42 +0100
commit8e5f4eab764918353cfb17fddb6abe6a2b737f6c (patch)
treea828acb243ac22f7310b4dafb787f4a3ff5f6e87 /libgpo/gpext
parentf1685427ed26da39e3d4ad5be7406c61d7cd1179 (diff)
downloadsamba-8e5f4eab764918353cfb17fddb6abe6a2b737f6c.tar.gz
libgpo: apply some const.
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Tue Jan 7 18:52:42 CET 2014 on sn-devel-104
Diffstat (limited to 'libgpo/gpext')
-rw-r--r--libgpo/gpext/gpext.c2
-rw-r--r--libgpo/gpext/gpext.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/libgpo/gpext/gpext.c b/libgpo/gpext/gpext.c
index 85f0831a048..2afcfecc3d7 100644
--- a/libgpo/gpext/gpext.c
+++ b/libgpo/gpext/gpext.c
@@ -658,7 +658,7 @@ NTSTATUS gpext_free_gp_extensions(void)
void gpext_debug_header(int lvl,
const char *name,
uint32_t flags,
- struct GROUP_POLICY_OBJECT *gpo,
+ const struct GROUP_POLICY_OBJECT *gpo,
const char *extension_guid,
const char *snapin_guid)
{
diff --git a/libgpo/gpext/gpext.h b/libgpo/gpext/gpext.h
index 600af23d4c9..0f5139d3915 100644
--- a/libgpo/gpext/gpext.h
+++ b/libgpo/gpext/gpext.h
@@ -65,8 +65,8 @@ struct gp_extension_methods {
uint32_t flags,
struct registry_key *root_key,
const struct security_token *token,
- struct GROUP_POLICY_OBJECT *deleted_gpo_list,
- struct GROUP_POLICY_OBJECT *changed_gpo_list);
+ const struct GROUP_POLICY_OBJECT *deleted_gpo_list,
+ const struct GROUP_POLICY_OBJECT *changed_gpo_list);
NTSTATUS (*get_reg_config)(TALLOC_CTX *mem_ctx,
struct gp_extension_reg_info **info);
@@ -94,7 +94,7 @@ NTSTATUS gpext_free_gp_extensions(void);
void gpext_debug_header(int lvl,
const char *name,
uint32_t flags,
- struct GROUP_POLICY_OBJECT *gpo,
+ const struct GROUP_POLICY_OBJECT *gpo,
const char *extension_guid,
const char *snapin_guid);
NTSTATUS gpext_process_extension(TALLOC_CTX *mem_ctx,