mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-26 20:00:50 +00:00
The rest of the resolv->DNS client naming change: Renamed directories and header files
This commit is contained in:
parent
51f553c9a4
commit
8b386385ab
19 changed files with 29 additions and 20 deletions
|
|
@ -878,3 +878,6 @@
|
|||
probably incomplete (2014-4-10).
|
||||
* apps/netutils/resolv: Long needed major clean up for coding style
|
||||
and unification of naming conventions (resolv vs dns) (2014-4-11).
|
||||
* aps/netutils/dnsclient and include/netutils/dnsclient.h: File name
|
||||
changes that are part of the overal resolv->dns renaming (2014-4-11).
|
||||
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@
|
|||
/* DHCPC may be used in conjunction with any other feature (or not) */
|
||||
|
||||
#ifdef CONFIG_EXAMPLES_DISCOVER_DHCPC
|
||||
# include <apps/netutils/resolv.h>
|
||||
# include <apps/netutils/dnsclient.h>
|
||||
# include <apps/netutils/dhcpc.h>
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@
|
|||
/* DHCPC may be used in conjunction with any other feature (or not) */
|
||||
|
||||
#ifdef CONFIG_EXAMPLES_TCPECHO_DHCPC
|
||||
# include <apps/netutils/resolv.h>
|
||||
# include <apps/netutils/dnsclient.h>
|
||||
# include <apps/netutils/dhcpc.h>
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@
|
|||
/* DHCPC may be used in conjunction with any other feature (or not) */
|
||||
|
||||
#ifdef CONFIG_EXAMPLES_UIP_DHCPC
|
||||
# include <apps/netutils/resolv.h>
|
||||
# include <apps/netutils/dnsclient.h>
|
||||
# include <apps/netutils/dhcpc.h>
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@
|
|||
#include <nuttx/net/uip/uip.h>
|
||||
|
||||
#include <apps/netutils/uiplib.h>
|
||||
#include <apps/netutils/resolv.h>
|
||||
#include <apps/netutils/dnsclient.h>
|
||||
#include <apps/netutils/webclient.h>
|
||||
|
||||
/****************************************************************************
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@
|
|||
/* DHCPC may be used in conjunction with any other feature (or not) */
|
||||
|
||||
#ifdef CONFIG_EXAMPLES_XMLRPC_DHCPC
|
||||
# include <apps/netutils/resolv.h>
|
||||
# include <apps/netutils/dnsclient.h>
|
||||
# include <apps/netutils/dhcpc.h>
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
/****************************************************************************
|
||||
* apps/include/netutils/resolv.h
|
||||
* apps/include/netutils/dnsclient.h
|
||||
* DNS resolver code header file.
|
||||
* Author Adam Dunkels <adam@dunkels.com>
|
||||
*
|
||||
|
|
@ -11,7 +11,7 @@ source "$APPSDIR/netutils/dhcpd/Kconfig"
|
|||
source "$APPSDIR/netutils/ftpc/Kconfig"
|
||||
source "$APPSDIR/netutils/ftpd/Kconfig"
|
||||
source "$APPSDIR/netutils/json/Kconfig"
|
||||
source "$APPSDIR/netutils/resolv/Kconfig"
|
||||
source "$APPSDIR/netutils/dnsclient/Kconfig"
|
||||
source "$APPSDIR/netutils/smtp/Kconfig"
|
||||
source "$APPSDIR/netutils/telnetd/Kconfig"
|
||||
source "$APPSDIR/netutils/tftpc/Kconfig"
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ CONFIGURED_APPS += netutils/ntpclient
|
|||
endif
|
||||
|
||||
ifeq ($(CONFIG_NETUTILS_DNSCLIENT),y)
|
||||
CONFIGURED_APPS += netutils/resolv
|
||||
CONFIGURED_APPS += netutils/dnsclient
|
||||
endif
|
||||
|
||||
ifeq ($(CONFIG_NETUTILS_SMTP),y)
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
SUBDIRS = json codecs
|
||||
ifeq ($(CONFIG_NET),y)
|
||||
SUBDIRS += uiplib dhcpc dhcpd discover ftpc ftpd resolv smtp telnetd
|
||||
SUBDIRS += uiplib dhcpc dhcpd discover dnsclient ftpc ftpd smtp telnetd
|
||||
SUBDIRS += webclient webserver tftpc thttpd xmlrpc
|
||||
endif
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ apps include:
|
|||
|
||||
dhcpc - Dynamic Host Configuration Protocol (DHCP) client. See
|
||||
apps/include/netutils/dhcpc.h for interface information.
|
||||
resolv - uIP DNS resolver. See apps/include/netutils/resolv.h
|
||||
dnsclient - uIP DNS resolver. See apps/include/netutils/dnsclient.h
|
||||
for interface information.
|
||||
smtp - Simple Mail Transfer Protocol (SMTP) client. See
|
||||
apps/include/netutils/smtp.h for interface information.
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ config NETUTILS_DNSCLIENT_ENTRIES
|
|||
int "Number of DNS resolver entries"
|
||||
default 8
|
||||
---help---
|
||||
Number of resolver entries. Default: 8
|
||||
Number of DNS resolver entries. Default: 8
|
||||
|
||||
config NETUTILS_DNSCLIENT_MAXRESPONSE
|
||||
int "Max response size"
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
############################################################################
|
||||
# apps/netutils/resolv/Makefile
|
||||
# apps/netutils/dnsclient/Makefile
|
||||
#
|
||||
# Copyright (C) 2011-2012 Gregory Nutt. All rights reserved.
|
||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
|
|
@ -37,13 +37,13 @@
|
|||
-include $(TOPDIR)/Make.defs
|
||||
include $(APPDIR)/Make.defs
|
||||
|
||||
# Resolver library
|
||||
# DNS Resolver library
|
||||
|
||||
ASRCS =
|
||||
CSRCS =
|
||||
|
||||
ifeq ($(CONFIG_NET_UDP),y)
|
||||
CSRCS = resolv.c
|
||||
CSRCS = dnsclient.c
|
||||
endif
|
||||
|
||||
AOBJS = $(ASRCS:.S=$(OBJEXT))
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
/****************************************************************************
|
||||
* uip-resolv.c
|
||||
* apps/netutils/dnsclient/dnsclient.c
|
||||
* DNS host name to IP address resolver.
|
||||
*
|
||||
* The uIP DNS resolver functions are used to lookup a hostname and
|
||||
|
|
@ -59,7 +59,7 @@
|
|||
#include <sys/socket.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
#include <apps/netutils/resolv.h>
|
||||
#include <apps/netutils/dnsclient.h>
|
||||
#include <apps/netutils/uiplib.h>
|
||||
|
||||
/****************************************************************************
|
||||
6
netutils/ntpclient/.gitignore
vendored
Normal file
6
netutils/ntpclient/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
/.built
|
||||
/.depend
|
||||
/Make.dep
|
||||
/*.src
|
||||
/*.obj
|
||||
/*.lst
|
||||
|
|
@ -65,7 +65,7 @@
|
|||
#ifdef CONFIG_HAVE_GETHOSTBYNAME
|
||||
# include <netdb.h>
|
||||
#else
|
||||
# include <apps/netutils/resolv.h>
|
||||
# include <apps/netutils/dnsclient.h>
|
||||
#endif
|
||||
|
||||
#include <arpa/inet.h>
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@
|
|||
#if defined(CONFIG_NET_ICMP) && defined(CONFIG_NET_ICMP_PING) && \
|
||||
!defined(CONFIG_DISABLE_CLOCK) && !defined(CONFIG_DISABLE_SIGNALS)
|
||||
# include <apps/netutils/uiplib.h>
|
||||
# include <apps/netutils/resolv.h>
|
||||
# include <apps/netutils/dnsclient.h>
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_NET_UDP) && CONFIG_NFILE_DESCRIPTORS > 0
|
||||
|
|
@ -88,7 +88,7 @@
|
|||
# ifdef CONFIG_HAVE_GETHOSTBYNAME
|
||||
# include <netdb.h>
|
||||
# else
|
||||
# include <apps/netutils/resolv.h>
|
||||
# include <apps/netutils/dnsclient.h>
|
||||
# endif
|
||||
# include <apps/netutils/dhcpc.h>
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@
|
|||
|
||||
#include <apps/netutils/uiplib.h>
|
||||
#if defined(CONFIG_NSH_DHCPC) || defined(CONFIG_NSH_DNS)
|
||||
# include <apps/netutils/resolv.h>
|
||||
# include <apps/netutils/dnsclient.h>
|
||||
# include <apps/netutils/dhcpc.h>
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue