]> git.ozlabs.org Git - petitboot/blobdiff - lib/types/types.h
discover: Track both configured and current autoboot settings
[petitboot] / lib / types / types.h
index 63f1b213c19261687e9ebd9c85272c0327882c59..7f4ae1fced1fa182055398d838dd441258680323 100644 (file)
@@ -89,6 +89,7 @@ struct interface_info {
        uint8_t         *hwaddr;
        char            *name;
        bool            link;
+       char            *address;
 };
 
 struct blockdev_info {
@@ -182,4 +183,6 @@ struct config {
        bool                    debug;
 };
 
+bool config_autoboot_active(const struct config *config);
+
 #endif /* _TYPES_H */