i_panic("Couldn't find settings for root %s", root->module_name);
}
-void *settings_parser_get_root_set_dup(const struct setting_parser_context *ctx,
- const struct setting_parser_info *root,
- pool_t pool)
-{
- return settings_dup(root, settings_parser_get_root_set(ctx, root), pool);
-}
-
void *settings_parser_get_changes(struct setting_parser_context *ctx)
{
i_assert(ctx->root_count == 1);
the function panics. */
void *settings_parser_get_root_set(const struct setting_parser_context *ctx,
const struct setting_parser_info *root);
-/* Combine settings_parser_get_root_set() and settings_dup(). */
-void *settings_parser_get_root_set_dup(const struct setting_parser_context *ctx,
- const struct setting_parser_info *root,
- pool_t pool);
/* Return pointer to changes in the root setting structure. */
void *settings_parser_get_changes(struct setting_parser_context *ctx);
/* Returns the setting parser's roots (same as given to init()). */