X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=lib%2Ftypes%2Ftypes.h;h=5536e2a912e48c6df3025f6d6e288bb785257830;hb=a5dad9c05cd72820e64e0461889e9e77eaf8202d;hp=a1065eee62e24efe974dde1eaae11e0ba0dc5658;hpb=aa530148044a7c6d7ec7b6a32672cc69d53979b2;p=petitboot diff --git a/lib/types/types.h b/lib/types/types.h index a1065ee..5536e2a 100644 --- a/lib/types/types.h +++ b/lib/types/types.h @@ -9,6 +9,7 @@ enum device_type { DEVICE_TYPE_NETWORK, DEVICE_TYPE_DISK, DEVICE_TYPE_OPTICAL, + DEVICE_TYPE_ANY, DEVICE_TYPE_UNKNOWN, }; @@ -120,9 +121,12 @@ struct boot_priority { struct config { bool autoboot_enabled; unsigned int autoboot_timeout_sec; + bool safe_mode; struct network_config network; struct boot_priority *boot_priorities; unsigned int n_boot_priorities; + char *boot_device; + char *lang; }; #endif /* _TYPES_H */