Renamed c-ares setup.h to ares_setup.h

pull/1/head curl-7_19_7
Yang Tse 15 years ago
parent bfca740909
commit a82a8fbf82
  1. 3
      CHANGES
  2. 2
      Makefile.am
  3. 2
      Makefile.inc
  4. 68
      Makefile.vc6
  5. 2
      acountry.c
  6. 2
      adig.c
  7. 2
      ahost.c
  8. 2
      ares__close_sockets.c
  9. 2
      ares__get_hostent.c
  10. 2
      ares__read_line.c
  11. 2
      ares__timeval.c
  12. 2
      ares_cancel.c
  13. 2
      ares_destroy.c
  14. 2
      ares_expand_name.c
  15. 2
      ares_expand_string.c
  16. 2
      ares_fds.c
  17. 2
      ares_free_hostent.c
  18. 2
      ares_free_string.c
  19. 2
      ares_gethostbyaddr.c
  20. 2
      ares_gethostbyname.c
  21. 2
      ares_getnameinfo.c
  22. 2
      ares_getsock.c
  23. 2
      ares_init.c
  24. 2
      ares_library_init.c
  25. 2
      ares_library_init.h
  26. 2
      ares_llist.c
  27. 2
      ares_mkquery.c
  28. 2
      ares_parse_a_reply.c
  29. 2
      ares_parse_aaaa_reply.c
  30. 2
      ares_parse_ns_reply.c
  31. 2
      ares_parse_ptr_reply.c
  32. 2
      ares_parse_srv_reply.c
  33. 2
      ares_parse_txt_reply.c
  34. 2
      ares_process.c
  35. 2
      ares_query.c
  36. 2
      ares_search.c
  37. 2
      ares_send.c
  38. 6
      ares_setup.h
  39. 2
      ares_strcasecmp.c
  40. 2
      ares_strcasecmp.h
  41. 2
      ares_strdup.c
  42. 2
      ares_strdup.h
  43. 2
      ares_strerror.c
  44. 2
      ares_timeout.c
  45. 2
      ares_version.c
  46. 2
      ares_writev.c
  47. 2
      ares_writev.h
  48. 2
      bitncmp.c
  49. 2
      inet_net_pton.c
  50. 2
      inet_ntop.c
  51. 2
      windows_port.c

@ -1,5 +1,8 @@
Changelog for the c-ares project
* November 2, 2009 (Yang Tse)
- Renamed c-ares setup.h to ares_setup.h
* October 31, 2009 (Yang Tse)
- Symbol hiding configure options are named now --enable-symbol-hiding
and --disable-symbol-hiding in an attempt to make them less ambiguous.

@ -18,7 +18,7 @@ ACLOCAL_AMFLAGS = -I m4
# $(top_builddir)/../lib is for libcurl's generated lib/curl_config.h file
# $(top_srcdir)/../lib is for libcurl's lib/setup.h and other "private" files
# $(top_builddir) is for c-ares's generated ares_config.h file
# $(top_srcdir) is for c-ares's lib/setup.h and other "c-ares-private" files
# $(top_srcdir) is for c-ares's ares_setup.h and other "c-ares-private" files
if CURLDEBUG
INCLUDES = -I$(top_builddir)/../include \

@ -55,7 +55,7 @@ HHEADERS = ares.h \
inet_net_pton.h \
inet_ntop.h \
nameser.h \
setup.h \
ares_setup.h \
setup_once.h
MANPAGES = ares_cancel.3 \

@ -159,117 +159,117 @@ vclean realclean: clean
#
# Copyright "gcc -MM .."
#
$(OBJ_DIR)\ares_fds.obj: ares_fds.c setup.h setup_once.h ares.h ares_private.h \
$(OBJ_DIR)\ares_fds.obj: ares_fds.c ares_setup.h setup_once.h ares.h ares_private.h \
ares_ipv6.h ares_build.h ares_rules.h
$(OBJ_DIR)\ares_process.obj: ares_process.c setup.h setup_once.h nameser.h \
$(OBJ_DIR)\ares_process.obj: ares_process.c ares_setup.h setup_once.h nameser.h \
ares.h ares_dns.h ares_private.h ares_ipv6.h ares_build.h ares_rules.h
$(OBJ_DIR)\ares_free_hostent.obj: ares_free_hostent.c setup.h setup_once.h \
$(OBJ_DIR)\ares_free_hostent.obj: ares_free_hostent.c ares_setup.h setup_once.h \
ares.h ares_private.h ares_ipv6.h ares_build.h ares_rules.h
$(OBJ_DIR)\ares_query.obj: ares_query.c setup.h setup_once.h nameser.h \
$(OBJ_DIR)\ares_query.obj: ares_query.c ares_setup.h setup_once.h nameser.h \
ares.h ares_dns.h ares_private.h ares_ipv6.h ares_build.h ares_rules.h
$(OBJ_DIR)\ares__close_sockets.obj: ares__close_sockets.c setup.h setup_once.h \
$(OBJ_DIR)\ares__close_sockets.obj: ares__close_sockets.c ares_setup.h setup_once.h \
ares.h ares_private.h ares_ipv6.h ares_build.h ares_rules.h
$(OBJ_DIR)\ares_free_string.obj: ares_free_string.c setup.h setup_once.h \
$(OBJ_DIR)\ares_free_string.obj: ares_free_string.c ares_setup.h setup_once.h \
ares.h ares_build.h ares_rules.h
$(OBJ_DIR)\ares_search.obj: ares_search.c setup.h setup_once.h nameser.h \
$(OBJ_DIR)\ares_search.obj: ares_search.c ares_setup.h setup_once.h nameser.h \
ares.h ares_private.h ares_ipv6.h ares_build.h ares_rules.h
$(OBJ_DIR)\ares__get_hostent.obj: ares__get_hostent.c setup.h setup_once.h \
$(OBJ_DIR)\ares__get_hostent.obj: ares__get_hostent.c ares_setup.h setup_once.h \
ares.h ares_private.h ares_ipv6.h inet_net_pton.h ares_build.h ares_rules.h
$(OBJ_DIR)\ares_gethostbyaddr.obj: ares_gethostbyaddr.c setup.h setup_once.h \
$(OBJ_DIR)\ares_gethostbyaddr.obj: ares_gethostbyaddr.c ares_setup.h setup_once.h \
nameser.h ares.h ares_private.h ares_ipv6.h inet_net_pton.h ares_build.h \
ares_rules.h
$(OBJ_DIR)\ares_send.obj: ares_send.c setup.h setup_once.h nameser.h ares.h \
$(OBJ_DIR)\ares_send.obj: ares_send.c ares_setup.h setup_once.h nameser.h ares.h \
ares_dns.h ares_private.h ares_ipv6.h ares_build.h ares_rules.h
$(OBJ_DIR)\ares__read_line.obj: ares__read_line.c setup.h setup_once.h ares.h \
$(OBJ_DIR)\ares__read_line.obj: ares__read_line.c ares_setup.h setup_once.h ares.h \
ares_private.h ares_ipv6.h ares_build.h ares_rules.h
$(OBJ_DIR)\ares_gethostbyname.obj: ares_gethostbyname.c setup.h setup_once.h \
$(OBJ_DIR)\ares_gethostbyname.obj: ares_gethostbyname.c ares_setup.h setup_once.h \
nameser.h ares.h ares_private.h ares_ipv6.h inet_net_pton.h bitncmp.h \
ares_build.h ares_rules.h
$(OBJ_DIR)\ares_strcasecmp.obj: ares_strcasecmp.c setup.h setup_once.h ares.h \
$(OBJ_DIR)\ares_strcasecmp.obj: ares_strcasecmp.c ares_setup.h setup_once.h ares.h \
ares_build.h ares_rules.h
$(OBJ_DIR)\ares_strerror.obj: ares_strerror.c setup.h setup_once.h ares.h \
$(OBJ_DIR)\ares_strerror.obj: ares_strerror.c ares_setup.h setup_once.h ares.h \
ares_build.h ares_rules.h
$(OBJ_DIR)\ares_cancel.obj: ares_cancel.c setup.h setup_once.h ares.h \
$(OBJ_DIR)\ares_cancel.obj: ares_cancel.c ares_setup.h setup_once.h ares.h \
ares_private.h ares_ipv6.h ares_build.h ares_rules.h
$(OBJ_DIR)\ares_init.obj: ares_init.c setup.h setup_once.h nameser.h ares.h \
$(OBJ_DIR)\ares_init.obj: ares_init.c ares_setup.h setup_once.h nameser.h ares.h \
ares_private.h ares_ipv6.h inet_net_pton.h ares_build.h ares_rules.h \
ares_library_init.h
$(OBJ_DIR)\ares_timeout.obj: ares_timeout.c setup.h setup_once.h ares.h \
$(OBJ_DIR)\ares_timeout.obj: ares_timeout.c ares_setup.h setup_once.h ares.h \
ares_private.h ares_ipv6.h ares_build.h ares_rules.h
$(OBJ_DIR)\ares__timeval.obj: ares__timeval.c setup.h setup_once.h ares.h \
$(OBJ_DIR)\ares__timeval.obj: ares__timeval.c ares_setup.h setup_once.h ares.h \
ares_private.h ares_ipv6.h ares_build.h ares_rules.h
$(OBJ_DIR)\ares_destroy.obj: ares_destroy.c setup.h setup_once.h ares.h \
$(OBJ_DIR)\ares_destroy.obj: ares_destroy.c ares_setup.h setup_once.h ares.h \
ares_private.h ares_ipv6.h ares_build.h ares_rules.h
$(OBJ_DIR)\ares_mkquery.obj: ares_mkquery.c setup.h setup_once.h nameser.h \
$(OBJ_DIR)\ares_mkquery.obj: ares_mkquery.c ares_setup.h setup_once.h nameser.h \
ares.h ares_dns.h ares_build.h ares_rules.h
$(OBJ_DIR)\ares_version.obj: ares_version.c setup.h setup_once.h ares.h \
$(OBJ_DIR)\ares_version.obj: ares_version.c ares_setup.h setup_once.h ares.h \
ares_version.h ares_build.h ares_rules.h
$(OBJ_DIR)\ares_expand_name.obj: ares_expand_name.c setup.h setup_once.h \
$(OBJ_DIR)\ares_expand_name.obj: ares_expand_name.c ares_setup.h setup_once.h \
nameser.h ares.h ares_private.h ares_ipv6.h ares_build.h ares_rules.h
$(OBJ_DIR)\ares_parse_a_reply.obj: ares_parse_a_reply.c setup.h setup_once.h \
$(OBJ_DIR)\ares_parse_a_reply.obj: ares_parse_a_reply.c ares_setup.h setup_once.h \
nameser.h ares.h ares_dns.h ares_private.h ares_ipv6.h ares_build.h \
ares_rules.h
$(OBJ_DIR)\windows_port.obj: windows_port.c setup.h setup_once.h nameser.h \
$(OBJ_DIR)\windows_port.obj: windows_port.c ares_setup.h setup_once.h nameser.h \
ares.h ares_private.h ares_ipv6.h ares_build.h ares_rules.h
$(OBJ_DIR)\ares_expand_string.obj: ares_expand_string.c setup.h setup_once.h \
$(OBJ_DIR)\ares_expand_string.obj: ares_expand_string.c ares_setup.h setup_once.h \
nameser.h ares.h ares_private.h ares_ipv6.h ares_build.h ares_rules.h
$(OBJ_DIR)\ares_parse_ptr_reply.obj: ares_parse_ptr_reply.c setup.h \
$(OBJ_DIR)\ares_parse_ptr_reply.obj: ares_parse_ptr_reply.c ares_setup.h \
setup_once.h nameser.h ares.h ares_dns.h ares_private.h ares_ipv6.h \
ares_build.h ares_rules.h
$(OBJ_DIR)\ares_parse_aaaa_reply.obj: ares_parse_aaaa_reply.c setup.h \
$(OBJ_DIR)\ares_parse_aaaa_reply.obj: ares_parse_aaaa_reply.c ares_setup.h \
setup_once.h nameser.h ares.h ares_dns.h inet_net_pton.h ares_private.h \
ares_ipv6.h ares_build.h ares_rules.h
$(OBJ_DIR)\ares_parse_ns_reply.obj: ares_parse_ns_reply.c setup.h \
$(OBJ_DIR)\ares_parse_ns_reply.obj: ares_parse_ns_reply.c ares_setup.h \
setup_once.h nameser.h ares.h ares_dns.h ares_private.h ares_ipv6.h \
ares_build.h ares_rules.h
$(OBJ_DIR)\ares_getnameinfo.obj: ares_getnameinfo.c setup.h setup_once.h \
$(OBJ_DIR)\ares_getnameinfo.obj: ares_getnameinfo.c ares_setup.h setup_once.h \
nameser.h ares.h ares_private.h ares_ipv6.h inet_ntop.h ares_build.h \
ares_rules.h
$(OBJ_DIR)\inet_net_pton.obj: inet_net_pton.c setup.h setup_once.h nameser.h \
$(OBJ_DIR)\inet_net_pton.obj: inet_net_pton.c ares_setup.h setup_once.h nameser.h \
ares_ipv6.h inet_net_pton.h ares_build.h ares_rules.h
$(OBJ_DIR)\bitncmp.obj: bitncmp.c bitncmp.h ares_build.h ares_rules.h
$(OBJ_DIR)\inet_ntop.obj: inet_ntop.c setup.h setup_once.h nameser.h \
$(OBJ_DIR)\inet_ntop.obj: inet_ntop.c ares_setup.h setup_once.h nameser.h \
ares_ipv6.h inet_ntop.h ares_build.h ares_rules.h
$(OBJ_DIR)\ares_getopt.obj: ares_getopt.c ares_getopt.h ares_build.h \
ares_rules.h
$(OBJ_DIR)\ares_library_init.obj: ares_library_init.c setup.h setup_once.h \
$(OBJ_DIR)\ares_library_init.obj: ares_library_init.c ares_setup.h setup_once.h \
ares.h ares_private.h ares_library_init.h ares_build.h ares_rules.h
$(OBJ_DIR)\ares_llist.obj: ares_llist.c setup.h setup_once.h ares.h \
$(OBJ_DIR)\ares_llist.obj: ares_llist.c ares_setup.h setup_once.h ares.h \
ares_private.h ares_llist.h ares_build.h ares_rules.h
$(OBJ_DIR)\ares_writev.obj: ares_writev.c setup.h setup_once.h ares.h \
$(OBJ_DIR)\ares_writev.obj: ares_writev.c ares_setup.h setup_once.h ares.h \
ares_writev.h ares_build.h ares_rules.h

@ -33,7 +33,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#include <stdio.h>
#include <stdlib.h>

@ -15,7 +15,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>

@ -15,7 +15,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#if !defined(WIN32) || defined(WATT32)
#ifdef HAVE_SYS_TIME_H

@ -15,7 +15,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#include <stdlib.h>
#ifdef HAVE_UNISTD_H

@ -15,7 +15,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>

@ -15,7 +15,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

@ -13,7 +13,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#include "ares.h"
#include "ares_private.h"

@ -13,7 +13,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#include <assert.h>
#include <stdlib.h>
#include "ares.h"

@ -15,7 +15,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#include <assert.h>
#include <stdlib.h>
#include "ares.h"

@ -15,7 +15,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>

@ -15,7 +15,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>

@ -15,7 +15,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>

@ -15,7 +15,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#include <stdlib.h>
#if !defined(WIN32) || defined(WATT32)

@ -15,7 +15,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#include <stdlib.h>
#include "ares.h"
#include "ares_private.h"

@ -14,7 +14,7 @@
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>

@ -15,7 +15,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>

@ -14,7 +14,7 @@
* this software for any purpose. It is provided "as is"
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#ifdef HAVE_GETSERVBYPORT_R
# if !defined(GETSERVBYPORT_R_ARGS) || \

@ -13,7 +13,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>

@ -16,7 +16,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#if defined(WIN32) && !defined(WATT32)
#include <iphlpapi.h>

@ -16,7 +16,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#include "ares.h"
#include "ares_library_init.h"

@ -19,7 +19,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#ifdef WIN32

@ -15,7 +15,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#include "ares.h"
#include "ares_private.h"

@ -15,7 +15,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>

@ -15,7 +15,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>

@ -16,7 +16,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>

@ -20,7 +20,7 @@
* on behalf of AVIRA Gmbh - http://www.avira.com
*/
#include "setup.h"
#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>

@ -15,7 +15,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>

@ -20,7 +20,7 @@
* on behalf of Red Hat - http://www.redhat.com
*/
#include "setup.h"
#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>

@ -17,7 +17,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>

@ -16,7 +16,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>

@ -15,7 +15,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>

@ -15,7 +15,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#include <stdio.h>
#include <stdlib.h>

@ -15,7 +15,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>

@ -1,5 +1,5 @@
#ifndef __ARES_SETUP_H
#define __ARES_SETUP_H
#ifndef HEADER_CARES_SETUP_H
#define HEADER_CARES_SETUP_H
/* $Id$ */
@ -184,4 +184,4 @@
#include "setup_once.h"
#endif
#endif /* __ARES_SETUP_H */
#endif /* HEADER_CARES_SETUP_H */

@ -16,7 +16,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#include "ares_strcasecmp.h"
#ifndef HAVE_STRCASECMP

@ -18,7 +18,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#ifndef HAVE_STRCASECMP
extern int ares_strcasecmp(const char *a, const char *b);

@ -16,7 +16,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#include "ares_strdup.h"
#ifndef HAVE_STRDUP

@ -18,7 +18,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#ifndef HAVE_STRDUP
extern char *ares_strdup(const char *s1);

@ -15,7 +15,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#include <assert.h>
#include "ares.h"

@ -15,7 +15,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>

@ -1,6 +1,6 @@
/* $Id$ */
#include "setup.h"
#include "ares_setup.h"
#include "ares.h"
const char *ares_version(int *version)

@ -16,7 +16,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#ifdef HAVE_LIMITS_H
# include <limits.h>

@ -18,7 +18,7 @@
* without express or implied warranty.
*/
#include "setup.h"
#include "ares_setup.h"
#include "ares.h"
#ifndef HAVE_WRITEV

@ -19,7 +19,7 @@
#ifndef HAVE_BITNCMP
#include "setup.h"
#include "ares_setup.h"
#include "bitncmp.h"
/*

@ -17,7 +17,7 @@
* OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
#include "setup.h"
#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>

@ -16,7 +16,7 @@
* SOFTWARE.
*/
#include "setup.h"
#include "ares_setup.h"
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>

@ -1,4 +1,4 @@
#include "setup.h"
#include "ares_setup.h"
/* $Id$ */

Loading…
Cancel
Save