summaryrefslogtreecommitdiffstats
path: root/ui/ncurses/nc-cui.h
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2013-08-20 10:14:22 +0800
committerJeremy Kerr <jk@ozlabs.org>2013-08-20 10:14:44 +0800
commit815df381d55e09fd291145ef2b86729c12583366 (patch)
tree9c76855645e36b35168b98a479583d8c7370c387 /ui/ncurses/nc-cui.h
parent51c6aaf7864eb65779d548ee2549caa357f71e2c (diff)
downloadtalos-petitboot-815df381d55e09fd291145ef2b86729c12583366.tar.gz
talos-petitboot-815df381d55e09fd291145ef2b86729c12583366.zip
lib/process: Add dry_run argument to process_init
Implement dry-run behaviour on the discover server by passing a bool to process_init. UIs don't need to support dry runs. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'ui/ncurses/nc-cui.h')
-rw-r--r--ui/ncurses/nc-cui.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/ncurses/nc-cui.h b/ui/ncurses/nc-cui.h
index a5ac5d5..4c13ddf 100644
--- a/ui/ncurses/nc-cui.h
+++ b/ui/ncurses/nc-cui.h
@@ -62,7 +62,8 @@ struct cui {
};
struct cui *cui_init(void* platform_info,
- int (*js_map)(const struct js_event *e), int start_deamon);
+ 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_boot_editor_run(struct pmenu_item *item);
OpenPOWER on IntegriCloud