ui/ncurses: Make boot editor API consistent with config & sysinfo screens
authorJeremy Kerr <jk@ozlabs.org>
Sun, 17 Nov 2013 03:04:08 +0000 (14:04 +1100)
committerJeremy Kerr <jk@ozlabs.org>
Fri, 22 Nov 2013 02:45:54 +0000 (10:45 +0800)
commit37c9aee3ffc02a299d94867df9df8132b09fc611
treeff87ad3b758f7da2bad7c69b9b8d7113657b9dcb
parent504b84c7a37ba8656bceb80fa37138751b7a6702
ui/ncurses: Make boot editor API consistent with config & sysinfo screens

The boot-editor API is a little more exposed than it needs to be: the
boot_editor struct does not need to be available to other files, and the
init function and on_exit functions differ from those provided for the
config and sysinfo screens.

This change unifies the boot_editor API with those for the other
screens.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
ui/ncurses/nc-boot-editor.c
ui/ncurses/nc-boot-editor.h
ui/ncurses/nc-cui.c
ui/ncurses/nc-cui.h
ui/ncurses/nc-menu.h
ui/ncurses/nc-widgets.c