Lines Matching defs:sections
48 char **sections;
140 ret = get_confdb_sections(ctx, ctx->confdb, &ctx->sections);
141 CHECK(ret != EOK, fini, "Could not get all configuration sections.");
182 for (section = tool_ctx->sections; *section != NULL; section++) {
238 char **sections;
270 sections = talloc_array(ctx, char*,
272 if (sections == NULL) {
274 "Could not allocate memory for sections\n");
280 sections[i] = talloc_strdup(tmp_ctx, known_services[i]);
281 if (sections[i] == NULL) {
291 sections[i] = talloc_asprintf(tmp_ctx, CONFDB_DOMAIN_PATH_TMPL,
293 if (sections[i] == NULL) {
301 sections[i] = NULL;
303 *output_sections = talloc_steal(ctx, sections);