lib: Add boot_status type & protocol definitions
[petitboot] / lib / types / types.h
index fb53826902d7507e1f82d874c2fbc947167664d8..90b23c37a77446d0cda4b531869c6dee31eed343 100644 (file)
@@ -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 */