diff options
author | Samuel Mendoza-Jonas <sam.mj@au1.ibm.com> | 2014-07-24 15:05:39 +1000 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2014-07-28 16:12:13 +0800 |
commit | 254c2c4233377ba71d0f1c96a77d885c91f9ad4a (patch) | |
tree | f6e79dbeba93f7709be8a9a261dd101be73bbd03 /ui/ncurses/nc-cui.h | |
parent | 0f5d4481891467000c50bf14548c236cfb3e70ad (diff) | |
download | talos-petitboot-254c2c4233377ba71d0f1c96a77d885c91f9ad4a.tar.gz talos-petitboot-254c2c4233377ba71d0f1c96a77d885c91f9ad4a.zip |
ui/ncurses: Add support for 'add-url' action
Creates a menu option to specify a remote conf file url to send to
the server for parsing.
Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/ncurses/nc-cui.h')
-rw-r--r-- | ui/ncurses/nc-cui.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/ncurses/nc-cui.h b/ui/ncurses/nc-cui.h index ff735ae..694ebd1 100644 --- a/ui/ncurses/nc-cui.h +++ b/ui/ncurses/nc-cui.h @@ -59,6 +59,7 @@ struct cui { 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 lang_screen *lang_screen; struct help_screen *help_screen; @@ -80,7 +81,9 @@ void cui_show_config(struct cui *cui); 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_add_url(struct cui *cui); 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 */ |