]> granicus.if.org Git - php/commitdiff
Change dns.h to php_dns.h, part of my dns cleanup
authorScott MacVicar <scottmac@php.net>
Wed, 5 Aug 2009 23:20:17 +0000 (23:20 +0000)
committerScott MacVicar <scottmac@php.net>
Wed, 5 Aug 2009 23:20:17 +0000 (23:20 +0000)
configure.in
ext/standard/basic_functions.c
ext/standard/config.m4
ext/standard/dns.c
ext/standard/dns_win32.c
ext/standard/php_dns.h [moved from ext/standard/dns.h with 97% similarity]
ext/standard/php_standard.h

index 667ab569f68049f01545740f6b3f7f430b65f4ca..7851c4e3c1b5b95ed073ad131461ed6cabc8dc3e 100644 (file)
@@ -423,10 +423,11 @@ sys/time.h \
 netinet/in.h \
 alloca.h \
 arpa/inet.h \
-arpa/nameser.h \
 arpa/nameser_compat.h \
+arpa/nameser.h \
 assert.h \
 crypt.h \
+dns.h \
 fcntl.h \
 grp.h \
 ieeefp.h \
index 115d2adc9dfb8a9d9fd56ff5bda6d559fad45945..342fe3aae3cb0659482285afd8b0cac6f5116457 100644 (file)
@@ -32,7 +32,7 @@
 #include "ext/standard/info.h"
 #include "ext/session/php_session.h"
 #include "zend_operators.h"
-#include "ext/standard/dns.h"
+#include "ext/standard/php_dns.h"
 #include "ext/standard/php_uuencode.h"
 #include "safe_mode.h"
 
index 0e0244c001e68588d9159883fdbcf151f488b1f1..8b793c619b49f32403be0637707de6b273b59fec 100644 (file)
@@ -247,7 +247,7 @@ fi
 
 dnl
 dnl Detect library functions needed by php dns_xxx functions
-dnl ext/standard/dns.h will collect these in a single define: HAVE_DNS_FUNCS
+dnl ext/standard/php_dns.h will collect these in a single define: HAVE_DNS_FUNCS
 dnl
 PHP_CHECK_FUNC(res_nmkquery, resolv, bind, socket)
 PHP_CHECK_FUNC(res_nsend, resolv, bind, socket)
@@ -257,7 +257,7 @@ PHP_CHECK_FUNC(dn_skipname, resolv, bind, socket)
 
 dnl
 dnl These are old deprecated functions, a single define of HAVE_DEPRECATED_DNS_FUNCS
-dnl will be set in ext/standard/dns.h
+dnl will be set in ext/standard/php_dns.h
 dnl
 
 PHP_CHECK_FUNC(res_mkquery, resolv, bind, socket)
index 8e3d50290f6987fc3d4df88103786439d37785cc..637c156e0722234a607311370ffb195d46fee2b2 100644 (file)
@@ -56,7 +56,7 @@
 #define AF_INET 2   /* internetwork: UDP, TCP, etc. */
 #endif
 
-#include "dns.h"
+#include "php_dns.h"
 
 /* type compat */
 #ifndef DNS_T_A
index a78405df62acce028b95bbd1fbf41b02e7fdbff0..2779220ecb72e7613ab85476166057b74cc16e97 100644 (file)
@@ -22,7 +22,7 @@
 #include <Winbase.h >
 #include <Windns.h>
 
-#include "dns.h"
+#include "php_dns.h"
 
 #define PHP_DNS_NUM_TYPES      12      /* Number of DNS Types Supported by PHP currently */
 
similarity index 97%
rename from ext/standard/dns.h
rename to ext/standard/php_dns.h
index bdb4c9f3d6226e4289a48882a108b422f26e2e86..8790d2b4ac3dc233b37f93b89ab235886bb2d1f7 100644 (file)
@@ -20,8 +20,8 @@
 
 /* $Id$ */
 
-#ifndef DNS_H
-#define DNS_H
+#ifndef PHP_DNS_H
+#define PHP_DNS_H
 
 #if HAVE_RES_MKQUERY && !defined(HAVE_RES_NMKQUERY) && HAVE_RES_SEND && !defined(HAVE_RES_NSEND)
 #define HAVE_DEPRECATED_DNS_FUNCS 1
@@ -68,4 +68,4 @@ PHP_MINIT_FUNCTION(dns);
 #define INT32SZ                4
 #endif
 
-#endif /* DNS_H */
+#endif /* PHP_DNS_H */
index b1ee04727d97f796f582ab576bdd3769232d2a97..f9919e0e29af27e3fcdb21cbe11f6bb0e11478be 100644 (file)
@@ -23,7 +23,7 @@
 #include "php_string.h"
 #include "base64.h"
 #include "php_dir.h"
-#include "dns.h"
+#include "php_dns.h"
 #include "php_mail.h"
 #include "md5.h"
 #include "sha1.h"