]> git.ozlabs.org Git - petitboot/blob - discover/boot.h
discover/boot: Add booting status message
[petitboot] / discover / boot.h
1 #ifndef _BOOT_H
2 #define _BOOT_H
3
4 struct boot_option;
5 struct boot_command;
6
7 typedef void (*boot_status_fn)(void *arg, struct boot_status *);
8
9 int boot(void *ctx, struct discover_boot_option *opt, struct boot_command *cmd,
10                 int dry_run, boot_status_fn status_fn, void *status_arg);
11
12 #endif /* _BOOT_H */