summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorDaniel Mack <zonque@gmail.com>2011-07-13 00:30:48 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2011-08-26 09:29:52 +0200
commit466f11015f44dd6be48bc0295196a83421bceea5 (patch)
tree523f094649a86d9aeae4bf77b398c0c545a495cb /extra
parent6ca582ff96ae373e635a275626af1243a81d63a4 (diff)
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 <zonque@gmail.com>
Diffstat (limited to 'extra')
-rw-r--r--extra/Configs/Config.in10
1 files changed, 10 insertions, 0 deletions
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