summaryrefslogtreecommitdiffstats
path: root/ui/ncurses/nc-cui.c
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2014-04-02 15:16:26 +0800
committerJeremy Kerr <jk@ozlabs.org>2014-04-02 15:24:15 +0800
commitbebb24a9f49cb4eb81df2aa3dd9de94db965536d (patch)
treea3b5ba8e8841a7767bd0d41586899713581e49ea /ui/ncurses/nc-cui.c
parent16ab363fe5bc4393b5dd7b9c12bbd6e5b55a22fe (diff)
downloadtalos-petitboot-bebb24a9f49cb4eb81df2aa3dd9de94db965536d.tar.gz
talos-petitboot-bebb24a9f49cb4eb81df2aa3dd9de94db965536d.zip
ui/ncurses: Add menu option to restart discovery
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/ncurses/nc-cui.c')
-rw-r--r--ui/ncurses/nc-cui.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/ncurses/nc-cui.c b/ui/ncurses/nc-cui.c
index fd90419..88bdd0f 100644
--- a/ui/ncurses/nc-cui.c
+++ b/ui/ncurses/nc-cui.c
@@ -581,6 +581,11 @@ int cui_send_config(struct cui *cui, struct config *config)
return discover_client_send_config(cui->client, config);
}
+void cui_send_reinit(struct cui *cui)
+{
+ discover_client_send_reinit(cui->client);
+}
+
static struct discover_client_ops cui_client_ops = {
.device_add = NULL,
.boot_option_add = cui_boot_option_add,
OpenPOWER on IntegriCloud