chiark / gitweb /
[PATCH] added klibc version 0.82 (cvs tree) to the udev tree.
[elogind.git] / klibc / klibc / include / arpa / inet.h
1 /*
2  * arpa/inet.h
3  */
4
5 #ifndef _ARPA_INET_H
6 #define _ARPA_INET_H
7
8 #include <klibc/extern.h>
9 #include <stdint.h>
10 #include <sys/types.h>
11 #include <netinet/in.h>
12 #include <netinet/in6.h>
13
14 __extern uint32_t inet_addr(const char *);
15 __extern int inet_aton(const char *, struct in_addr *);
16 __extern char *inet_ntoa(struct in_addr);
17 __extern int inet_pton(int, const char *, void *);
18 __extern const char *inet_ntop(int, const void *, char *, size_t);
19 __extern unsigned int inet_nsap_addr(const char *, unsigned char *, int);
20 __extern char *inet_nsap_ntoa(int, const unsigned char *, char *);
21
22 #endif /* _ARPA_INET_H */
23
24