X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Ftypes%2Ftypes.h;h=702b6f5f82286605cc00303f11cb2f84d4610150;hb=0dae90626e54e46372c9feddc2f9ac82f046547d;hp=e5c7e3e00225daa162c7850eb1d302da63074f7a;hpb=37b4861cb01bf6bd9da41aa1b311a87b0d26fc25;p=petitboot diff --git a/lib/types/types.h b/lib/types/types.h index e5c7e3e..702b6f5 100644 --- a/lib/types/types.h +++ b/lib/types/types.h @@ -8,6 +8,7 @@ enum device_type { DEVICE_TYPE_NETWORK, DEVICE_TYPE_DISK, + DEVICE_TYPE_USB, DEVICE_TYPE_OPTICAL, DEVICE_TYPE_ANY, DEVICE_TYPE_UNKNOWN, @@ -92,6 +93,7 @@ struct blockdev_info { struct system_info { char *type; char *identifier; + uint8_t *bmc_mac; struct interface_info **interfaces; unsigned int n_interfaces; struct blockdev_info **blockdevs; @@ -146,9 +148,12 @@ struct config { unsigned int ipmi_bootdev; bool ipmi_bootdev_persistent; + bool allow_writes; + char *lang; /* not user-settable */ + bool disable_snapshots; bool safe_mode; bool debug; };