summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2006-12-20 05:58:26 +0100
committerMichael Brown2006-12-20 05:58:26 +0100
commitb93ff4817324aa4b1913c161b29d380bc4ff4146 (patch)
treeaf28fe28921a69fbf14760702b289ed0e2eb8cb5 /src/include
parentMove {show,set,clear}_setting() to {show,set,clear}_named_setting(). (diff)
downloadipxe-b93ff4817324aa4b1913c161b29d380bc4ff4146.tar.gz
ipxe-b93ff4817324aa4b1913c161b29d380bc4ff4146.tar.xz
ipxe-b93ff4817324aa4b1913c161b29d380bc4ff4146.zip
Added descriptive text for settings and setting types, and display it in
the option config UI.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gpxe/settings.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/gpxe/settings.h b/src/include/gpxe/settings.h
index f84378afd..d5be524d9 100644
--- a/src/include/gpxe/settings.h
+++ b/src/include/gpxe/settings.h
@@ -40,6 +40,8 @@ struct config_setting_type {
* This is the name exposed to the user (e.g. "string").
*/
const char *name;
+ /** Description */
+ const char *description;
/** Show value of setting
*
* @v context Configuration context
@@ -79,6 +81,8 @@ struct config_setting {
* dhcp-options(5)).
*/
const char *name;
+ /** Description */
+ const char *description;
/** DHCP option tag
*
* This is the DHCP tag used to identify the option in DHCP