X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=lib%2Ftypes%2Ftypes.h;h=90b23c37a77446d0cda4b531869c6dee31eed343;hp=acd9e3ef74c6fe12f3f98d992fecd5d148228656;hb=ab4ca06537f10b768b2e81a178273e9509de0b07;hpb=ee86a0bd989511319adf3467b41b5b2e1f486aa6 diff --git a/lib/types/types.h b/lib/types/types.h index acd9e3e..90b23c3 100644 --- a/lib/types/types.h +++ b/lib/types/types.h @@ -16,6 +16,7 @@ struct device { }; struct boot_option { + char *device_id; char *id; char *name; char *description; @@ -29,4 +30,21 @@ struct boot_option { void *ui_info; }; +struct boot_command { + char *option_id; + char *boot_image_file; + char *initrd_file; + char *boot_args; +}; + +struct boot_status { + enum { + BOOT_STATUS_INFO, + BOOT_STATUS_ERROR, + } type; + char *message; + char *detail; + int progress; +}; + #endif /* _TYPES_H */