From 263968fb67cdaa58e1ff8d9a35a72921ffbac7ef Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Fri, 15 Nov 2013 15:13:41 +1100 Subject: protocol: Add block device information to system info Signed-off-by: Jeremy Kerr --- lib/types/types.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/types') 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 -- cgit v1.2.1