X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=ui%2Fncurses%2Fnc-cui.h;h=aba682a3c43d90633831a7c24ffa3ce6d4c44cc3;hp=d1edd795fbd7e8d057ca59ac8ff6394aa268a0f2;hb=937f660b2e3f6d517e4114e8096cb640715b1ae8;hpb=651940467773d2e679f9210e02f4654fb05cd449 diff --git a/ui/ncurses/nc-cui.h b/ui/ncurses/nc-cui.h index d1edd79..aba682a 100644 --- a/ui/ncurses/nc-cui.h +++ b/ui/ncurses/nc-cui.h @@ -57,6 +57,8 @@ struct cui { struct discover_client *client; 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; @@ -71,6 +73,8 @@ 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); +int cui_send_config(struct cui *cui, struct config *config); /* convenience routines */