]> git.ozlabs.org Git - petitboot/commitdiff
ui/ncurses/nc-widgets: Add initial textbox validation functions
authorJeremy Kerr <jk@ozlabs.org>
Wed, 18 Dec 2013 05:05:01 +0000 (13:05 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Wed, 18 Dec 2013 05:43:49 +0000 (13:43 +0800)
We'd like to do some validation of the system configuration parameters,
so add a few validation types to the widget code. We currently need
integer, ipv4 address and multiple ipv4 address types. These are
implemented as small wrappers around the ncurses form validator code.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>

No differences found