summaryrefslogtreecommitdiffstats
path: root/ui/ncurses/nc-config.h
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-10-25 09:19:35 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-11-14 13:23:52 +1100
commitbdcb1f9712f9e99ff1f72497387b34e68585523c (patch)
tree6b065e8711b655c0e26461b448d909e33a1b338b /ui/ncurses/nc-config.h
parent9df37efcae13a272b25cc5b4e0ba441948fea886 (diff)
downloadtalos-petitboot-bdcb1f9712f9e99ff1f72497387b34e68585523c.tar.gz
talos-petitboot-bdcb1f9712f9e99ff1f72497387b34e68585523c.zip
nui/ncurses: Allow config screen updates
We may receive configuration (or sysinfo) data after the configuration screen has been displayed. Implement config_screen_update and redraw the widgetset when new config data arrives. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/ncurses/nc-config.h')
-rw-r--r--ui/ncurses/nc-config.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/ncurses/nc-config.h b/ui/ncurses/nc-config.h
index 71e0ea4..dd5fd11 100644
--- a/ui/ncurses/nc-config.h
+++ b/ui/ncurses/nc-config.h
@@ -30,6 +30,7 @@ struct config_screen *config_screen_init(struct cui *cui,
struct nc_scr *config_screen_scr(struct config_screen *screen);
void config_screen_update(struct config_screen *screen,
- const struct config *config);
+ const struct config *config,
+ const struct system_info *sysinfo);
#endif /* defined _NC_CONFIG_H */
OpenPOWER on IntegriCloud