summaryrefslogtreecommitdiffstats
path: root/discover/discover-server.h
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-10-18 10:31:03 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-11-13 17:27:51 +0800
commit7832d10c59cfe7f06e19bc6f0b6acaac1a552618 (patch)
treef2409268202847b3192b0ea1ed7c7b543f21ee35 /discover/discover-server.h
parent20be68872f056457b99cc64164171901be4bc5a3 (diff)
downloadtalos-petitboot-7832d10c59cfe7f06e19bc6f0b6acaac1a552618.tar.gz
talos-petitboot-7832d10c59cfe7f06e19bc6f0b6acaac1a552618.zip
config: Implement config messages
On client connect, send a PB_PROTOCOL_ACTION_CONFIG message. 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 d22fb38..97f53b9 100644
--- a/discover/discover-server.h
+++ b/discover/discover-server.h
@@ -9,6 +9,7 @@ struct boot_option;
struct boot_status;
struct system_info;
struct device;
+struct config;
struct discover_server *discover_server_init(struct waitset *waitset);
@@ -27,4 +28,6 @@ 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);
+void discover_server_notify_config(struct discover_server *server,
+ const struct config *config);
#endif /* _DISCOVER_SERVER_H */
OpenPOWER on IntegriCloud