summaryrefslogtreecommitdiffstats
path: root/ui/ncurses/nc-cui.h
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-10-21 18:59:12 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-11-14 13:23:25 +1100
commit2a6f3ebc8263e94441c2c865a6b28dae40e35990 (patch)
tree50057259a8288421392ec69d978aacdbfbbda74f /ui/ncurses/nc-cui.h
parent7cd5a6642af076693874cce340607d712e35d423 (diff)
downloadtalos-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.h2
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 */
OpenPOWER on IntegriCloud