apps/netuils/dnsclient and include/netutils/dnsclient.h: Move the DNS client logic into the NuttX C library. It is a necessary part for the full implementation of the netdb logic and provides more flexibility in that location.

This commit is contained in:
Gregory Nutt
2015-07-10 11:31:13 -06:00
parent 5abf88abed
commit 48c36800f5
21 changed files with 15 additions and 1228 deletions

View File

@@ -70,7 +70,7 @@
#if defined(CONFIG_NET_ICMP) && defined(CONFIG_NET_ICMP_PING) && \
!defined(CONFIG_DISABLE_SIGNALS)
# include <apps/netutils/netlib.h>
# include <apps/netutils/dnsclient.h>
# include <nuttx/net/dnsclient.h>
#endif
#if defined(CONFIG_NET_UDP) && CONFIG_NFILE_DESCRIPTORS > 0
@@ -89,7 +89,7 @@
# ifdef CONFIG_HAVE_GETHOSTBYNAME
# include <netdb.h>
# else
# include <apps/netutils/dnsclient.h>
# include <nuttx/net/dnsclient.h>
# endif
# include <apps/netutils/dhcpc.h>
#endif