X-Git-Url: https://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=lib%2Ftypes%2Ftypes.h;h=d2a2918c7b3fe2cd077219ab6319b87c5d1dde01;hp=d73f1618e4631ff04738bfeef253d6a305e4c652;hb=263968fb67cdaa58e1ff8d9a35a72921ffbac7ef;hpb=9239fd1ec121fc6c6eda49ef5c2dab081a026785 diff --git a/lib/types/types.h b/lib/types/types.h index d73f161..d2a2918 100644 --- a/lib/types/types.h +++ b/lib/types/types.h @@ -66,11 +66,19 @@ struct interface_info { char *name; }; +struct blockdev_info { + char *name; + char *uuid; + char *mountpoint; +}; + struct system_info { char *type; char *identifier; struct interface_info **interfaces; unsigned int n_interfaces; + struct blockdev_info **blockdevs; + unsigned int n_blockdevs; }; #define HWADDR_SIZE 6