X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=lib%2Ftypes%2Ftypes.h;h=9fed7aaaba65d3a5948d248c6482299197cde3e9;hb=f6d419d22a4c69af185201b30f78b5a88da51219;hp=fb53826902d7507e1f82d874c2fbc947167664d8;hpb=bd06734362bb727b09b943688d9b69aa0a84590d;p=petitboot diff --git a/lib/types/types.h b/lib/types/types.h index fb53826..9fed7aa 100644 --- a/lib/types/types.h +++ b/lib/types/types.h @@ -1,6 +1,7 @@ #ifndef _TYPES_H #define _TYPES_H +#include #include struct device { @@ -23,7 +24,9 @@ struct boot_option { char *icon_file; char *boot_image_file; char *initrd_file; + char *dtb_file; char *boot_args; + bool is_default; struct list_item list; @@ -34,7 +37,18 @@ struct boot_command { char *option_id; char *boot_image_file; char *initrd_file; + char *dtb_file; char *boot_args; }; +struct boot_status { + enum { + BOOT_STATUS_INFO, + BOOT_STATUS_ERROR, + } type; + char *message; + char *detail; + int progress; +}; + #endif /* _TYPES_H */