php-src/win32/inet.h

12 lines
364 B
C
Raw Normal View History

2008-08-23 20:31:27 +00:00
#include "config.w32.h"
#if _MSC_VER >= 1500
# include <In6addr.h>
#endif
#include <Ws2tcpip.h>
2008-08-23 20:31:27 +00:00
#if (_WIN32_WINNT < 0x0600) /* Vita/2k8 have these functions */
PHPAPI int inet_pton(int af, const char* src, void* dst);
PHPAPI const char* inet_ntop(int af, const void* src, char* dst, size_t size);
PHPAPI int inet_aton(const char *cp, struct in_addr *inp);
#endif