discover: Maintain a backlog of status updates
[petitboot] / lib / types / types.h
index 506510b1fbbfc0775a3999e701a0158f5da3ebc4..63f1b213c19261687e9ebd9c85272c0327882c59 100644 (file)
@@ -76,6 +76,12 @@ struct status {
                STATUS_ERROR,
        } type;
        char    *message;
+       bool    backlog;
+};
+
+struct statuslog_entry {
+       struct status           *status;
+       struct list_item        list;
 };
 
 struct interface_info {