X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=lib%2Ftypes%2Ftypes.h;h=5be2cb697597a3c12c177aea26644b67bc9e3dec;hb=32fe8024f5af5cd8de23c638ddad8ada67a46cd5;hp=fb53826902d7507e1f82d874c2fbc947167664d8;hpb=bd06734362bb727b09b943688d9b69aa0a84590d;p=petitboot diff --git a/lib/types/types.h b/lib/types/types.h index fb53826..5be2cb6 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 { @@ -24,6 +25,7 @@ struct boot_option { char *boot_image_file; char *initrd_file; char *boot_args; + bool is_default; struct list_item list; @@ -37,4 +39,14 @@ struct boot_command { char *boot_args; }; +struct boot_status { + enum { + BOOT_STATUS_INFO, + BOOT_STATUS_ERROR, + } type; + char *message; + char *detail; + int progress; +}; + #endif /* _TYPES_H */