diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-05-01 09:09:39 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-05-06 09:02:12 +0800 |
commit | e793a9b5a07a677c1d9d33f4757b67c25dbf2eed (patch) | |
tree | fba1b35b801f7938dd1573b4f7a82dcb57e93a25 /ui/common/discover-client.h | |
parent | 6b87c9c7776796c766e3dcbdb32f5d292f7125d5 (diff) | |
download | talos-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.h | 1 |
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; }; |