diff options
Diffstat (limited to 'discover/boot.h')
-rw-r--r-- | discover/boot.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/discover/boot.h b/discover/boot.h index bbb02cf..ec61703 100644 --- a/discover/boot.h +++ b/discover/boot.h @@ -6,7 +6,9 @@ struct boot_command; 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); +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); +void boot_cancel(struct boot_task *task); #endif /* _BOOT_H */ |