libgpo: add gp_inifile_enum_section()
[vlendec/samba-autobuild/.git] / libgpo / gpo_ini.h
index b948a7a32d0ba3fd03f525cb67b770c85f6d288e..7c945f85620d40d55a2bf7d563d4eeffacda826c 100644 (file)
@@ -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);