projects
/
petitboot
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ui/ncurses: Display current ipmi bootdev settings
[petitboot]
/
ui
/
ncurses
/
nc-cui.h
diff --git
a/ui/ncurses/nc-cui.h
b/ui/ncurses/nc-cui.h
index 8632806fcb52d4d2ca38f30f2a1288c39025ea70..24a0761a65e39f89784a681ad9f8e4c6f492afe9 100644
(file)
--- a/
ui/ncurses/nc-cui.h
+++ b/
ui/ncurses/nc-cui.h
@@
-23,6
+23,7
@@
#include "ui/common/joystick.h"
#include "nc-menu.h"
#include "ui/common/joystick.h"
#include "nc-menu.h"
+#include "nc-helpscreen.h"
struct cui_opt_data {
const char *name;
struct cui_opt_data {
const char *name;
@@
-58,8
+59,11
@@
struct cui {
struct sysinfo_screen *sysinfo_screen;
struct config *config;
struct config_screen *config_screen;
struct sysinfo_screen *sysinfo_screen;
struct config *config;
struct config_screen *config_screen;
+ struct add_url_screen *add_url_screen;
struct boot_editor *boot_editor;
struct boot_editor *boot_editor;
+ struct lang_screen *lang_screen;
struct help_screen *help_screen;
struct help_screen *help_screen;
+ struct subset_screen *subset_screen;
struct pjs *pjs;
void *platform_info;
unsigned int default_item;
struct pjs *pjs;
void *platform_info;
unsigned int default_item;
@@
-70,13
+74,19
@@
struct cui *cui_init(void* platform_info,
int (*js_map)(const struct js_event *e),
int start_deamon);
struct nc_scr *cui_set_current(struct cui *cui, struct nc_scr *scr);
int (*js_map)(const struct js_event *e),
int start_deamon);
struct nc_scr *cui_set_current(struct cui *cui, struct nc_scr *scr);
-int cui_run(struct cui *cui
, struct pmenu *main, unsigned int default_item
);
+int cui_run(struct cui *cui);
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);
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);
-void cui_show_help(struct cui *cui, const char *title, const char *text);
+void cui_show_lang(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,
+ void *arg);
+void cui_show_add_url(struct cui *cui);
int cui_send_config(struct cui *cui, struct config *config);
int cui_send_config(struct cui *cui, struct config *config);
+int cui_send_url(struct cui *cui, char *url);
void cui_send_reinit(struct cui *cui);
/* convenience routines */
void cui_send_reinit(struct cui *cui);
/* convenience routines */