X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=discover%2Fboot.h;h=bbb02cf7858e39e0f077fc42e56538c2b9a1f65b;hp=be2ca5752e9e1eeca5c8471fba6651ec09949f5d;hb=f452571550b6c6016698a50c834087c0d8c7575b;hpb=b8122dc9340e2f208220f0c88b4d71f91b78774f diff --git a/discover/boot.h b/discover/boot.h index be2ca57..bbb02cf 100644 --- a/discover/boot.h +++ b/discover/boot.h @@ -4,7 +4,9 @@ struct boot_option; struct boot_command; -int boot(void *ctx, struct boot_option *opt, struct boot_command *cmd, - int dry_run); +typedef void (*boot_status_fn)(void *arg, struct boot_status *); + +int boot(void *ctx, struct discover_boot_option *opt, struct boot_command *cmd, + int dry_run, boot_status_fn status_fn, void *status_arg); #endif /* _BOOT_H */