libUPnP 1.8.4
inet_pton.h
1#ifndef INET_PTON
2#define INET_PTON
3
4#ifdef _WIN32
5
6#ifdef IPV6_
7#define INET_IPV6
8#endif
9
10#include "unixutil.h"
11
12#include <errno.h>
13#include <stdio.h>
14#include <string.h>
15
34extern const char *inet_ntop(int af, const void *src, char *dst,
35 socklen_t size);
36
46extern int inet_pton(int af, const char *src, void *dst);
47
48#endif /* _WIN32 */
49
50#endif /* INET_PTON */