summaryrefslogtreecommitdiff
path: root/libgpo/gpo.h
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/gpo.h
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/gpo.h')
-rw-r--r--libgpo/gpo.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libgpo/gpo.h b/libgpo/gpo.h
index dfded119980..0bae44aeca9 100644
--- a/libgpo/gpo.h
+++ b/libgpo/gpo.h
@@ -169,7 +169,7 @@ NTSTATUS gpo_explode_filesyspath(TALLOC_CTX *mem_ctx,
NTSTATUS gpo_fetch_files(TALLOC_CTX *mem_ctx,
ADS_STRUCT *ads,
const char *cache_dir,
- struct GROUP_POLICY_OBJECT *gpo);
+ const struct GROUP_POLICY_OBJECT *gpo);
NTSTATUS gpo_get_sysvol_gpt_version(TALLOC_CTX *mem_ctx,
const char *unix_path,
uint32_t *sysvol_version,
@@ -236,15 +236,15 @@ NTSTATUS check_refresh_gpo(ADS_STRUCT *ads,
TALLOC_CTX *mem_ctx,
const char *cache_dir,
uint32_t flags,
- struct GROUP_POLICY_OBJECT *gpo);
+ const struct GROUP_POLICY_OBJECT *gpo);
NTSTATUS check_refresh_gpo_list(ADS_STRUCT *ads,
TALLOC_CTX *mem_ctx,
const char *cache_dir,
uint32_t flags,
- struct GROUP_POLICY_OBJECT *gpo_list);
+ const struct GROUP_POLICY_OBJECT *gpo_list);
NTSTATUS gpo_get_unix_path(TALLOC_CTX *mem_ctx,
const char *cache_dir,
- struct GROUP_POLICY_OBJECT *gpo,
+ const struct GROUP_POLICY_OBJECT *gpo,
char **unix_path);
char *gpo_flag_str(TALLOC_CTX *mem_ctx, uint32_t flags);
NTSTATUS gp_find_file(TALLOC_CTX *mem_ctx,