summaryrefslogtreecommitdiff
path: root/ext/standard/dns.c
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-05-16 11:19:26 +0000
committerSascha Schumann <sas@php.net>1999-05-16 11:19:26 +0000
commit39691bed9e9ce9480b2ee80edd275dca67ec840f (patch)
tree1157b0b5da25c06762da69493874e66e308e4c9c /ext/standard/dns.c
parent5a4c63db531a762e2a2de025b0583293b1e7c679 (diff)
downloadphp-git-39691bed9e9ce9480b2ee80edd275dca67ec840f.tar.gz
conv_proto *.[ch]
Diffstat (limited to 'ext/standard/dns.c')
-rw-r--r--ext/standard/dns.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/standard/dns.c b/ext/standard/dns.c
index 5f3a03ee0d..95d03aa208 100644
--- a/ext/standard/dns.c
+++ b/ext/standard/dns.c
@@ -65,7 +65,7 @@ char *_php3_gethostbyname(char *name);
/* {{{ proto string gethostbyaddr(string ip_address)
Get the Internet host name corresponding to a given IP address */
-void php3_gethostbyaddr(INTERNAL_FUNCTION_PARAMETERS)
+PHP_FUNCTION(gethostbyaddr)
{
pval *arg;
@@ -104,7 +104,7 @@ char *_php3_gethostbyaddr(char *ip)
/* {{{ proto string gethostbyname(string hostname)
Get the IP address corresponding to a given Internet host name */
-void php3_gethostbyname(INTERNAL_FUNCTION_PARAMETERS)
+PHP_FUNCTION(gethostbyname)
{
pval *arg;
@@ -121,7 +121,7 @@ void php3_gethostbyname(INTERNAL_FUNCTION_PARAMETERS)
/* {{{ proto array gethostbynamel(string hostname)
Return a list of IP addresses that a given hostname resolves to. */
-void php3_gethostbynamel(INTERNAL_FUNCTION_PARAMETERS)
+PHP_FUNCTION(gethostbynamel)
{
pval *arg;
struct hostent *hp;
@@ -174,7 +174,7 @@ char *_php3_gethostbyname(char *name)
/* {{{ proto int checkdnsrr(string host [, string type])
Check DNS records corresponding to a given Internet host name or IP address */
-void php3_checkdnsrr(INTERNAL_FUNCTION_PARAMETERS)
+PHP_FUNCTION(checkdnsrr)
{
pval *arg1,*arg2;
int type,i;
@@ -234,7 +234,7 @@ void php3_checkdnsrr(INTERNAL_FUNCTION_PARAMETERS)
/* {{{ proto int getmxrr(string hostname, array mxhosts [, array weight])
Get MX records corresponding to a given Internet host name */
-void php3_getmxrr(INTERNAL_FUNCTION_PARAMETERS)
+PHP_FUNCTION(getmxrr)
{
pval *host, *mx_list, *weight_list;
pval tmp1,tmp2;