protocol: Add block device information to system info
[petitboot] / lib / types / types.h
index d73f1618e4631ff04738bfeef253d6a305e4c652..d2a2918c7b3fe2cd077219ab6319b87c5d1dde01 100644 (file)
@@ -66,11 +66,19 @@ struct interface_info {
        char            *name;
 };
 
        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 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
 };
 
 #define HWADDR_SIZE    6