X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Ftypes%2Ftypes.h;h=702b6f5f82286605cc00303f11cb2f84d4610150;hb=0dae90626e54e46372c9feddc2f9ac82f046547d;hp=f7e47522dcd818d6b2a226e469fd7ee48543f50e;hpb=acc5ace6e58db2f3dceb1f7a27d0fc1fb29c4a27;p=petitboot diff --git a/lib/types/types.h b/lib/types/types.h index f7e4752..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; @@ -151,6 +153,7 @@ struct config { char *lang; /* not user-settable */ + bool disable_snapshots; bool safe_mode; bool debug; };