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