summaryrefslogtreecommitdiffstats
path: root/ui/common/discover-client.h
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-05-01 09:09:39 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-05-06 09:02:12 +0800
commite793a9b5a07a677c1d9d33f4757b67c25dbf2eed (patch)
treefba1b35b801f7938dd1573b4f7a82dcb57e93a25 /ui/common/discover-client.h
parent6b87c9c7776796c766e3dcbdb32f5d292f7125d5 (diff)
downloadtalos-petitboot-e793a9b5a07a677c1d9d33f4757b67c25dbf2eed.tar.gz
talos-petitboot-e793a9b5a07a677c1d9d33f4757b67c25dbf2eed.zip
ui: Receive boot status messages
Add support in the discover client code to handle boot status messages, and pass them to the UI thorugh a new callback ("update_status") in the client_ops. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/common/discover-client.h')
-rw-r--r--ui/common/discover-client.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/common/discover-client.h b/ui/common/discover-client.h
index 5317b44..2245a65 100644
--- a/ui/common/discover-client.h
+++ b/ui/common/discover-client.h
@@ -24,6 +24,7 @@ struct discover_client_ops {
int (*boot_option_add)(struct device *dev, struct boot_option *option,
void *arg);
void (*device_remove)(struct device *device, void *arg);
+ void (*update_status)(struct boot_status *status, void *arg);
void *cb_arg;
};
OpenPOWER on IntegriCloud