diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-02-27 14:28:55 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-04-15 14:54:21 +0800 |
commit | 1b0b59295d0500764c5096753f7cd11bf3ab5df4 (patch) | |
tree | ec9212781e9e7acf57b399ab7ed13d27244b0012 /ui/ncurses/nc-cui.h | |
parent | 6b842bb2559116a949c6a569ac39f5c56ebc1be1 (diff) | |
download | talos-petitboot-1b0b59295d0500764c5096753f7cd11bf3ab5df4.tar.gz talos-petitboot-1b0b59295d0500764c5096753f7cd11bf3ab5df4.zip |
ui: callback & boot actions: kexec -> boot
find ui/ -type f |
xargs sed -i -e s/kexec_cb/boot_cb/g \
-e s/on_kexec/on_boot/g \
-e s/run_kexec/boot/g
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/ncurses/nc-cui.h')
-rw-r--r-- | ui/ncurses/nc-cui.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/ncurses/nc-cui.h b/ui/ncurses/nc-cui.h index 3bdbcfc..abe22a8 100644 --- a/ui/ncurses/nc-cui.h +++ b/ui/ncurses/nc-cui.h @@ -59,11 +59,11 @@ struct cui { struct pjs *pjs; void *platform_info; unsigned int default_item; - int (*on_kexec)(struct cui *cui, struct cui_opt_data *cod); + int (*on_boot)(struct cui *cui, struct cui_opt_data *cod); }; struct cui *cui_init(void* platform_info, - int (*on_kexec)(struct cui *, struct cui_opt_data *), + int (*on_boot)(struct cui *, struct cui_opt_data *), int (*js_map)(const struct js_event *e), int start_deamon, int dry_run); 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); |