summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe/settings_ui.h
diff options
context:
space:
mode:
authorMichael Brown2008-03-20 05:06:07 +0100
committerMichael Brown2008-03-20 05:06:07 +0100
commita48b4d9948b6ffb5ca05d59ee8b04391ed24cd3b (patch)
tree3cd3e953e8d1a921cfca53e488f86bcd759742a6 /src/include/gpxe/settings_ui.h
parent[Contribs] Add updated wake-on-LAN patch from Bill <level42@sympatico.ca> (diff)
downloadipxe-a48b4d9948b6ffb5ca05d59ee8b04391ed24cd3b.tar.gz
ipxe-a48b4d9948b6ffb5ca05d59ee8b04391ed24cd3b.tar.xz
ipxe-a48b4d9948b6ffb5ca05d59ee8b04391ed24cd3b.zip
[Settings] Start revamping the configuration settings API.
Add the concept of an abstract configuration setting, comprising a (DHCP) tag value and an associated byte sequence. Add the concept of a settings namespace. Add functions for extracting string, IPv4 address, and signed and unsigned integer values from configuration settings (analogous to dhcp_snprintf(), dhcp_ipv4_option(), etc.). Update functions for parsing and formatting named/typed options to work with new settings API. Update NVO commands and config UI to use new settings API.
Diffstat (limited to 'src/include/gpxe/settings_ui.h')
-rw-r--r--src/include/gpxe/settings_ui.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/gpxe/settings_ui.h b/src/include/gpxe/settings_ui.h
index 70ee8cb3b..48548fd59 100644
--- a/src/include/gpxe/settings_ui.h
+++ b/src/include/gpxe/settings_ui.h
@@ -7,8 +7,8 @@
*
*/
-struct config_context;
+struct settings;
-extern int settings_ui ( struct config_context *context ) __nonnull;
+extern int settings_ui ( struct settings *settings ) __nonnull;
#endif /* _GPXE_SETTINGS_UI_H */