summaryrefslogtreecommitdiff
path: root/libgpo/gpo_ini.h
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2016-09-13 08:36:59 +0200
committerAndreas Schneider <asn@cryptomilk.org>2017-01-06 12:28:18 +0100
commit8e5251c1f30a86ef88c7c145c71deccf19d4189f (patch)
tree86b8f6c7fcf89fb1044f28aa5bf11bd28b8a94f8 /libgpo/gpo_ini.h
parent5c16dfe32532e06c7fe9fad6524ebef7d7378b76 (diff)
downloadsamba-8e5251c1f30a86ef88c7c145c71deccf19d4189f.tar.gz
libgpo: add gp_inifile_enum_section()
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'libgpo/gpo_ini.h')
-rw-r--r--libgpo/gpo_ini.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libgpo/gpo_ini.h b/libgpo/gpo_ini.h
index b948a7a32d0..7c945f85620 100644
--- a/libgpo/gpo_ini.h
+++ b/libgpo/gpo_ini.h
@@ -46,3 +46,8 @@ NTSTATUS gp_inifile_getstring(struct gp_inifile_context *ctx, const char *key, c
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);
+NTSTATUS gp_inifile_enum_section(struct gp_inifile_context *ctx,
+ const char *section,
+ size_t *num_ini_keys,
+ const char ***ini_keys,
+ const char ***ini_values);