]> git.ozlabs.org Git - petitboot/blobdiff - lib/types/types.h
Merge remote-tracking branch 'sammj/master'
[petitboot] / lib / types / types.h
index a1065eee62e24efe974dde1eaae11e0ba0dc5658..f543b7f7ea3295d39a91783897663152e5350f5d 100644 (file)
@@ -9,6 +9,7 @@ enum device_type {
        DEVICE_TYPE_NETWORK,
        DEVICE_TYPE_DISK,
        DEVICE_TYPE_OPTICAL,
+       DEVICE_TYPE_ANY,
        DEVICE_TYPE_UNKNOWN,
 };
 
@@ -121,8 +122,20 @@ struct config {
        bool                    autoboot_enabled;
        unsigned int            autoboot_timeout_sec;
        struct network_config   network;
+
        struct boot_priority    *boot_priorities;
        unsigned int            n_boot_priorities;
+
+       char                    *boot_device;
+
+       unsigned int            ipmi_bootdev;
+       bool                    ipmi_bootdev_persistent;
+
+       char                    *lang;
+
+       /* not user-settable */
+       bool                    safe_mode;
+       bool                    debug;
 };
 
 #endif /* _TYPES_H */