summaryrefslogtreecommitdiff
path: root/win32/inet.h
blob: 7b3821c71bc23780813a6b95b471139382b5fdb7 (plain)
1
2
3
4
5
6
7
8
9
10
#if _MSC_VER >= 1500
# include <In6addr.h>
#endif
#include <Ws2tcpip.h>

#if (_WIN32_WINNT <= 0x500)
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