summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/settings.h
diff options
context:
space:
mode:
authorGlenn Brown2011-03-22 18:49:03 +0100
committerMichael Brown2011-03-22 20:55:05 +0100
commitf732fa28c87e76d5627ce593a8078f4124c06173 (patch)
tree35b92f93c920000c9371f39771a61217c0b4a3a5 /src/include/ipxe/settings.h
parent[settings] Use concat_args() in "set" command (diff)
downloadipxe-f732fa28c87e76d5627ce593a8078f4124c06173.tar.gz
ipxe-f732fa28c87e76d5627ce593a8078f4124c06173.tar.xz
ipxe-f732fa28c87e76d5627ce593a8078f4124c06173.zip
[settings] Expose settings_name()
Expose settings_name(), shrink the unnecessarily large static buffer, properly name root settings block, and simplify. Modified-by: Michael Brown <mcb30@ipxe.org> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/settings.h')
-rw-r--r--src/include/ipxe/settings.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/ipxe/settings.h b/src/include/ipxe/settings.h
index b2b63f8a..5c541683 100644
--- a/src/include/ipxe/settings.h
+++ b/src/include/ipxe/settings.h
@@ -245,6 +245,7 @@ extern int fetch_uuid_setting ( struct settings *settings,
extern void clear_settings ( struct settings *settings );
extern int setting_cmp ( struct setting *a, struct setting *b );
+extern const char * settings_name ( struct settings *settings );
extern struct settings * find_settings ( const char *name );
extern struct setting * find_setting ( const char *name );