-int boot(void *ctx, struct discover_boot_option *opt, struct boot_command *cmd,
- int dry_run, boot_status_fn status_fn, void *status_arg);
+struct boot_task *boot(void *ctx, struct discover_boot_option *opt,
+ struct boot_command *cmd, int dry_run,
+ boot_status_fn status_fn, void *status_arg);