+ /* We may be called well after the original caller of iterate_parsers(),
+ * commit any new boot options ourselves */
+ handler = talloc_parent(conf);
+ device_handler_discover_context_commit(handler, conf->dc);
+
+ status.type = BOOT_STATUS_INFO;
+ /*
+ * TRANSLATORS: the format specifier in this string in an IP address,
+ * eg. 192.168.1.1
+ */
+ status.message = talloc_asprintf(conf, _("pxe: parsed config for %s"),
+ conf->dc->conf_url->host);
+ device_handler_boot_status(handler, &status);
+
+ talloc_free(buf);
+out_clean:
+ if (result->cleanup_local)
+ unlink(result->local);
+ talloc_free(conf);
+}
+
+/**
+ * Return a new conf_context and increment the talloc reference count on
+ * the discover_context struct.
+ * @param ctx Parent talloc context
+ * @param orig Original discover_context
+ * @return Pointer to new conf_context
+ */
+static struct conf_context *copy_context(void *ctx, struct discover_context *dc)
+{
+ struct pxe_parser_info *info;
+ struct conf_context *conf;
+
+ conf = talloc_zero(ctx, struct conf_context);