summaryrefslogtreecommitdiffstats
path: root/discover/discover-server.h
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-10-09 12:02:08 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-10-09 17:40:04 +0800
commitbc4114e2235163bd88456c25cc0a908d86151f93 (patch)
tree47e7e1674e33a5f138ed3a390c3dc02e2d9f3133 /discover/discover-server.h
parentab7076882bc49d895209bf0ecb84e4003e034dd9 (diff)
downloadtalos-petitboot-bc4114e2235163bd88456c25cc0a908d86151f93.tar.gz
talos-petitboot-bc4114e2235163bd88456c25cc0a908d86151f93.zip
Add system info messages
Add a little infrastructure for communicating information about the system to the petitboot UIs. We just send some identifying info (type and identifier), as well as the interfaces. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'discover/discover-server.h')
-rw-r--r--discover/discover-server.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/discover/discover-server.h b/discover/discover-server.h
index 541afaf..d22fb38 100644
--- a/discover/discover-server.h
+++ b/discover/discover-server.h
@@ -7,6 +7,7 @@ struct discover_server;
struct device_handler;
struct boot_option;
struct boot_status;
+struct system_info;
struct device;
struct discover_server *discover_server_init(struct waitset *waitset);
@@ -24,4 +25,6 @@ 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);
+void discover_server_notify_system_info(struct discover_server *server,
+ const struct system_info *sysinfo);
#endif /* _DISCOVER_SERVER_H */
OpenPOWER on IntegriCloud