diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-11-15 15:13:41 +1100 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-11-22 10:45:54 +0800 |
commit | 263968fb67cdaa58e1ff8d9a35a72921ffbac7ef (patch) | |
tree | a2b3bdd5c6fb8d38723b690efd0d40dc7c5072e2 /lib/types/types.h | |
parent | 08e967ee301b502b2114e3855210a0b2600d095c (diff) | |
download | talos-petitboot-263968fb67cdaa58e1ff8d9a35a72921ffbac7ef.tar.gz talos-petitboot-263968fb67cdaa58e1ff8d9a35a72921ffbac7ef.zip |
protocol: Add block device information to system info
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'lib/types/types.h')
-rw-r--r-- | lib/types/types.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 |