ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/hopm/trunk/src/inet.h
Revision: 5052
Committed: Mon Dec 22 11:56:03 2014 UTC (11 years, 7 months ago) by michael
Content type: text/x-chdr
File size: 340 byte(s)
Log Message:
- Initial import of bopm 3.1.3

File Contents

# Content
1 #ifndef INET_H
2 #define INET_H
3
4 #include <sys/types.h>
5 #include <sys/socket.h>
6 #include <netinet/in.h>
7 #include <arpa/inet.h>
8
9 #ifndef AF_INET6
10 #define AF_INET6 10
11 #endif
12
13 #ifndef HAVE_INET_PTON
14 extern int bopm_inet_pton(int, const char *, void *);
15 #endif
16 extern char *inetntop(int, const void *, char *, unsigned int);
17
18 #endif /* INET_H */