From 466f11015f44dd6be48bc0295196a83421bceea5 Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Wed, 13 Jul 2011 00:30:48 +0200 Subject: inet/resolv: add ns_{put,get}{16,32} This patch introduces a new config directive 'UCLIBC_HAS_RESOLVER_SUPPORT' and adds the new symbols conditionally. Signed-off-by: Daniel Mack --- extra/Configs/Config.in | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'extra') diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in index 8f250e04e..c14660d1d 100644 --- a/extra/Configs/Config.in +++ b/extra/Configs/Config.in @@ -1276,6 +1276,16 @@ config UCLIBC_HAS_EXTRA_COMPAT_RES_STATE Answer Y if selecting UCLIBC_HAS_COMPAT_RES_STATE is not enough. As far as I can say, this should never be needed. +config UCLIBC_HAS_RESOLVER_SUPPORT + bool "DNS resolver functions" + select UCLIBC_HAS_COMPAT_RES_STATE + help + Provide implementations for DNS resolver functions. + In particular, the following functions will be added to the + library: + + ns_get16, ns_get32, ns_put16, ns_put32 + config UCLIBC_HAS_LIBRESOLV_STUB bool "Provide libresolv stub" help -- cgit v1.2.3