discover: Allow load_async_url() to call callback for local paths
[petitboot] / discover / boot.h
index 69643bfb5a58dec46e0735095c754436570011b4..0f3dcf7cdbf246ebd04da62f29c736dc487b5cea 100644 (file)
@@ -41,6 +41,16 @@ struct boot_task {
        const char *local_initrd_signature;
        const char *local_dtb_signature;
        const char *local_cmdline_signature;
+       struct list resources;
+};
+
+struct boot_resource {
+       struct load_url_result *result;
+       struct pb_url *url;
+       const char **local_path;
+       const char *name;
+
+       struct list_item list;
 };
 
 enum {