libgpo: apply some const.
[bbaumbach/samba-autobuild/.git] / libgpo / gpo_ini.h
index 7c945f85620d40d55a2bf7d563d4eeffacda826c..0bfe5b1df0763eda78c3a8715a8add5a816bd031 100644 (file)
@@ -18,8 +18,8 @@
  */
 
 struct keyval_pair {
-       char *key;
-       char *val;
+       const char *key;
+       const char *val;
 };
 
 struct gp_inifile_context {
@@ -42,7 +42,7 @@ NTSTATUS parse_gpt_ini(TALLOC_CTX *ctx,
                       const char *filename,
                       uint32_t *version,
                       char **display_name);
-NTSTATUS gp_inifile_getstring(struct gp_inifile_context *ctx, const char *key, char **ret);
+NTSTATUS gp_inifile_getstring(struct gp_inifile_context *ctx, const char *key, const char **ret);
 NTSTATUS gp_inifile_getint(struct gp_inifile_context *ctx, const char *key, int *ret);
 NTSTATUS gp_inifile_getbool(struct gp_inifile_context *ctx, const char *key, bool *ret);