From bc4114e2235163bd88456c25cc0a908d86151f93 Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Wed, 9 Oct 2013 12:02:08 +0800 Subject: 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 --- discover/discover-server.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'discover/discover-server.h') 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 */ -- cgit v1.2.1