X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=lib%2Ftypes%2Ftypes.h;h=90b23c37a77446d0cda4b531869c6dee31eed343;hb=1435814a67d3c1a0199f84b91246b37eb8fa8b99;hp=fb53826902d7507e1f82d874c2fbc947167664d8;hpb=bd06734362bb727b09b943688d9b69aa0a84590d;p=petitboot diff --git a/lib/types/types.h b/lib/types/types.h index fb53826..90b23c3 100644 --- a/lib/types/types.h +++ b/lib/types/types.h @@ -37,4 +37,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 */