summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/settings.h
diff options
context:
space:
mode:
authorMichael Brown2010-12-09 16:34:12 +0100
committerMichael Brown2010-12-09 16:34:12 +0100
commitcb838cc419194e1c676cbee60e35bdc2db05af97 (patch)
treef411f27c64c129948e1df51e41e11c5ff782a81a /src/include/ipxe/settings.h
parent[debug] Add DBG_MD5() and related macros (diff)
downloadipxe-cb838cc419194e1c676cbee60e35bdc2db05af97.tar.gz
ipxe-cb838cc419194e1c676cbee60e35bdc2db05af97.tar.xz
ipxe-cb838cc419194e1c676cbee60e35bdc2db05af97.zip
[settings] Add fetch_ipv4_array_setting()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/settings.h')
-rw-r--r--src/include/ipxe/settings.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/ipxe/settings.h b/src/include/ipxe/settings.h
index db20be5e..a764bf0e 100644
--- a/src/include/ipxe/settings.h
+++ b/src/include/ipxe/settings.h
@@ -193,6 +193,10 @@ extern int fetch_string_setting ( struct settings *settings,
extern int fetch_string_setting_copy ( struct settings *settings,
struct setting *setting,
char **data );
+extern int fetch_ipv4_array_setting ( struct settings *settings,
+ struct setting *setting,
+ struct in_addr *inp,
+ unsigned int count );
extern int fetch_ipv4_setting ( struct settings *settings,
struct setting *setting, struct in_addr *inp );
extern int fetch_int_setting ( struct settings *settings,