projects
/
petitboot
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
discover: Send boot status messages during boot()
[petitboot]
/
discover
/
boot.h
diff --git
a/discover/boot.h
b/discover/boot.h
index 1dc5767b083d50a03fa899fe1a8cf56ddb24e473..bbb02cf7858e39e0f077fc42e56538c2b9a1f65b 100644
(file)
--- a/
discover/boot.h
+++ b/
discover/boot.h
@@
-4,7
+4,9
@@
struct boot_option;
struct boot_command;
struct boot_option;
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 boot(void *ctx, struct discover_boot_option *opt, struct boot_command *cmd,
- int dry_run);
+ int dry_run
, boot_status_fn status_fn, void *status_arg
);
#endif /* _BOOT_H */
#endif /* _BOOT_H */