From: Jeremy Kerr Date: Wed, 18 Dec 2013 05:05:01 +0000 (+0800) Subject: ui/ncurses/nc-widgets: Add initial textbox validation functions X-Git-Tag: v1.0.0~281 X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=90cc2a11507462e9c40f2494165741561729bdfb;hp=90cc2a11507462e9c40f2494165741561729bdfb ui/ncurses/nc-widgets: Add initial textbox validation functions 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 ---