summaryrefslogtreecommitdiff
path: root/os/windows/posix/include/arpa/inet.h
blob: 7e3bfb7eb8bcfa3f86bd70a94a52c83aac0f94a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef ARPA_INET_H
#define ARPA_INET_H

#include <winsock2.h>
#include <inttypes.h>

typedef int socklen_t;

const char *inet_ntop(int af, const void *restrict src,
        char *restrict dst, socklen_t size);
int inet_pton(int af, const char *restrict src, void *restrict dst);

#endif /* ARPA_INET_H */