X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ui%2Fncurses%2Fnc-cui.h;h=418df711204ea3f95ea176ba4b8f71c6263bc8cd;hb=4c55c0778e983c41418effecdbd96437b43a5513;hp=24a0761a65e39f89784a681ad9f8e4c6f492afe9;hpb=37b4861cb01bf6bd9da41aa1b311a87b0d26fc25;p=petitboot diff --git a/ui/ncurses/nc-cui.h b/ui/ncurses/nc-cui.h index 24a0761..418df71 100644 --- a/ui/ncurses/nc-cui.h +++ b/ui/ncurses/nc-cui.h @@ -56,6 +56,7 @@ struct cui { struct waitset *waitset; struct discover_client *client; struct system_info *sysinfo; + struct statuslog *statuslog; struct sysinfo_screen *sysinfo_screen; struct config *config; struct config_screen *config_screen; @@ -64,6 +65,7 @@ struct cui { struct lang_screen *lang_screen; struct help_screen *help_screen; struct subset_screen *subset_screen; + struct statuslog_screen *statuslog_screen; struct pjs *pjs; void *platform_info; unsigned int default_item; @@ -72,7 +74,7 @@ struct cui { struct cui *cui_init(void* platform_info, int (*js_map)(const struct js_event *e), - int start_deamon); + int start_daemon, int timeout); struct nc_scr *cui_set_current(struct cui *cui, struct nc_scr *scr); int cui_run(struct cui *cui); void cui_item_edit(struct pmenu_item *item); @@ -80,6 +82,7 @@ void cui_item_new(struct pmenu *menu); void cui_show_sysinfo(struct cui *cui); void cui_show_config(struct cui *cui); void cui_show_lang(struct cui *cui); +void cui_show_statuslog(struct cui *cui); void cui_show_help(struct cui *cui, const char *title, const struct help_text *text); void cui_show_subset(struct cui *cui, const char *title,