diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-10-21 18:59:12 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-11-14 13:23:25 +1100 |
commit | 2a6f3ebc8263e94441c2c865a6b28dae40e35990 (patch) | |
tree | 50057259a8288421392ec69d978aacdbfbbda74f /ui/ncurses/nc-cui.h | |
parent | 7cd5a6642af076693874cce340607d712e35d423 (diff) | |
download | talos-petitboot-2a6f3ebc8263e94441c2c865a6b28dae40e35990.tar.gz talos-petitboot-2a6f3ebc8263e94441c2c865a6b28dae40e35990.zip |
ui/ncurses: Add basic config editor
This change adds a simple configuration editor to the ncurses UI.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/ncurses/nc-cui.h')
-rw-r--r-- | ui/ncurses/nc-cui.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/ncurses/nc-cui.h b/ui/ncurses/nc-cui.h index 0e3708d..752f2db 100644 --- a/ui/ncurses/nc-cui.h +++ b/ui/ncurses/nc-cui.h @@ -58,6 +58,7 @@ struct cui { struct system_info *sysinfo; struct sysinfo_screen *sysinfo_screen; struct config *config; + struct config_screen *config_screen; struct pjs *pjs; void *platform_info; unsigned int default_item; @@ -72,6 +73,7 @@ int cui_run(struct cui *cui, struct pmenu *main, unsigned int default_item); void cui_item_edit(struct pmenu_item *item); void cui_item_new(struct pmenu *menu); void cui_show_sysinfo(struct cui *cui); +void cui_show_config(struct cui *cui); /* convenience routines */ |