From 4b06a4645e19830581505a675075773adc0857c2 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Wed, 7 Dec 2016 11:13:36 +1100 Subject: types: shorten boot_status definitions struct boot_status is a bit misnamed; we report status on things that aren't just the boot status (eg, discovery). This change refactors struct boot_status into just struct status. We give the type enum a name, and shorten the enum values to suit. Signed-off-by: Jeremy Kerr Signed-off-by: Samuel Mendoza-Jonas --- discover/discover-server.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'discover/discover-server.h') diff --git a/discover/discover-server.h b/discover/discover-server.h index 97f53b9..97d07e6 100644 --- a/discover/discover-server.h +++ b/discover/discover-server.h @@ -6,7 +6,7 @@ struct discover_server; struct device_handler; struct boot_option; -struct boot_status; +struct status; struct system_info; struct device; struct config; @@ -25,7 +25,7 @@ void discover_server_notify_boot_option_add(struct discover_server *server, void discover_server_notify_device_remove(struct discover_server *server, struct device *device); void discover_server_notify_boot_status(struct discover_server *server, - struct boot_status *status); + struct status *status); void discover_server_notify_system_info(struct discover_server *server, const struct system_info *sysinfo); void discover_server_notify_config(struct discover_server *server, -- cgit v1.2.1