]> git.ozlabs.org Git - petitboot/blobdiff - lib/types/types.h
discover: Maintain a backlog of status updates
[petitboot] / lib / types / types.h
index b22c0b01374e69d233446170ada0dca59291bec8..63f1b213c19261687e9ebd9c85272c0327882c59 100644 (file)
@@ -76,8 +76,12 @@ struct status {
                STATUS_ERROR,
        } type;
        char    *message;
-       char    *detail;
-       int     progress;
+       bool    backlog;
+};
+
+struct statuslog_entry {
+       struct status           *status;
+       struct list_item        list;
 };
 
 struct interface_info {