diff options
author | Michael Brown | 2013-12-05 00:36:53 +0100 |
---|---|---|
committer | Michael Brown | 2013-12-05 01:41:49 +0100 |
commit | 60c4e62e5dc56a451958456c7c013b161e53c9b9 (patch) | |
tree | 53057c45e2a9728014afab72ed9d7128a0765a7f /src/include/ipxe/settings.h | |
parent | [settings] Allow for IPv6 setting types in non-IPv6 builds (diff) | |
download | ipxe-60c4e62e5dc56a451958456c7c013b161e53c9b9.tar.gz ipxe-60c4e62e5dc56a451958456c7c013b161e53c9b9.tar.xz ipxe-60c4e62e5dc56a451958456c7c013b161e53c9b9.zip |
[settings] Add fetch_ipv6_setting()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/settings.h')
-rw-r--r-- | src/include/ipxe/settings.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/ipxe/settings.h b/src/include/ipxe/settings.h index 3b1328c8..39756f7f 100644 --- a/src/include/ipxe/settings.h +++ b/src/include/ipxe/settings.h @@ -16,6 +16,7 @@ FILE_LICENCE ( GPL2_OR_LATER ); struct settings; struct in_addr; +struct in6_addr; union uuid; /** A setting */ @@ -341,6 +342,12 @@ extern int fetch_ipv4_array_setting ( struct settings *settings, extern int fetch_ipv4_setting ( struct settings *settings, const struct setting *setting, struct in_addr *inp ); +extern int fetch_ipv6_array_setting ( struct settings *settings, + const struct setting *setting, + struct in6_addr *inp, unsigned int count); +extern int fetch_ipv6_setting ( struct settings *settings, + const struct setting *setting, + struct in6_addr *inp ); extern int fetch_int_setting ( struct settings *settings, const struct setting *setting, long *value ); extern int fetch_uint_setting ( struct settings *settings, |