X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=lib%2Ftypes%2Ftypes.h;h=63c1c7c811aaed6deb2ba26630dc23d7611eb668;hb=d531395a3ff60730238854b127925978f6eab289;hp=f7e47522dcd818d6b2a226e469fd7ee48543f50e;hpb=acc5ace6e58db2f3dceb1f7a27d0fc1fb29c4a27;p=petitboot diff --git a/lib/types/types.h b/lib/types/types.h index f7e4752..63c1c7c 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,15 @@ struct blockdev_info { struct system_info { char *type; char *identifier; + char **platform_current; + char **platform_other; + unsigned int n_current; + unsigned int n_other; + char **bmc_current; + char **bmc_golden; + unsigned int n_bmc_current; + unsigned int n_bmc_golden; + uint8_t *bmc_mac; struct interface_info **interfaces; unsigned int n_interfaces; struct blockdev_info **blockdevs; @@ -113,6 +123,7 @@ struct interface_config { struct { char *address; char *gateway; + char *url; } static_config; }; }; @@ -151,6 +162,7 @@ struct config { char *lang; /* not user-settable */ + bool disable_snapshots; bool safe_mode; bool debug; };