|
|
@ -1,3 +1,6 @@ |
|
|
|
|
|
|
|
#ifndef __ARES_INET_NET_PTON_H |
|
|
|
|
|
|
|
#define __ARES_INET_NET_PTON_H |
|
|
|
|
|
|
|
|
|
|
|
/* $Id$ */ |
|
|
|
/* $Id$ */ |
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
/*
|
|
|
@ -14,9 +17,6 @@ |
|
|
|
* without express or implied warranty. |
|
|
|
* without express or implied warranty. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
#ifndef INET_NET_PTON_H |
|
|
|
|
|
|
|
#define INET_NET_PTON_H |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if defined(HAVE_INET_PTON) && defined(HAVE_INET_PTON_IPV6) |
|
|
|
#if defined(HAVE_INET_PTON) && defined(HAVE_INET_PTON_IPV6) |
|
|
|
#define ares_inet_pton(x,y,z) inet_pton(x,y,z) |
|
|
|
#define ares_inet_pton(x,y,z) inet_pton(x,y,z) |
|
|
|
#else |
|
|
|
#else |
|
|
@ -28,4 +28,4 @@ int ares_inet_pton(int af, const char *src, void *dst); |
|
|
|
int ares_inet_net_pton(int af, const char *src, void *dst, size_t size); |
|
|
|
int ares_inet_net_pton(int af, const char *src, void *dst, size_t size); |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#endif /* INET_NET_PTON_H */ |
|
|
|
#endif /* __ARES_INET_NET_PTON_H */ |
|
|
|