Move {show,set,clear}_setting() to {show,set,clear}_named_setting().
authorMichael Brown <mcb30@etherboot.org>
Wed, 20 Dec 2006 04:20:13 +0000 (04:20 +0000)
committerMichael Brown <mcb30@etherboot.org>
Wed, 20 Dec 2006 04:20:13 +0000 (04:20 +0000)
commit35edecac34e129ea075e00d021fc6e786fa20777
treeeec108ce34d9786c0cabf35f510d98ac7cb5f1dd
parentfc7dcc201be5a1f6721ff8d467a9685c480e004a
Move {show,set,clear}_setting() to {show,set,clear}_named_setting().

Introduce new {show,set,clear}_setting() that take a struct setting *
rather than a const char *.

set_setting() handles calling clear_setting() when appropriate, so that
individual setting types don't have to check for empty strings.
src/core/settings.c
src/hci/commands/nvo_cmd.c
src/hci/tui/settings_ui.c
src/include/gpxe/settings.h